1

【DevOps】Jenkins任务基于Tag进行构建

 3 years ago
source link: http://www.blogjava.net/paulwong/archive/2021/04/22/435862.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
【DevOps】Jenkins任务基于Tag进行构建 - paulwong - BlogJava

My Links

Blog Stats

  • Posts - 1066
  • Stories - 10
  • Comments - 108
  • Trackbacks - 0

留言簿(42)

随笔分类(1228)

随笔档案(1021)

文章分类(7)

文章档案(10)

收藏夹(2)

Develop

E-BOOK

Other

阅读排行榜

评论排行榜

60天内阅读排行

【DevOps】Jenkins任务基于Tag进行构建

手动触发:
https://blog.csdn.net/justyman/article/details/89857577

如果是自动触发BUILD时,则可以以最新建立的TAG为基础进行BUILD,而无需人手选TAG进行BUILD。
配置,注意应取消参数化配置工程:
  1. Add the following refspec to the Git plugin:
    +refs/tags/*:refs/remotes/origin/tags/*
  2. Add the following branch specifier:
    */tags/*
  3. Enable SCM polling, so that the job detects new tags.

posted on 2021-04-22 11:00 paulwong 阅读(2) 评论(0)  编辑  收藏 所属分类: JENKINS

Powered by:
BlogJava
Copyright © paulwong


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK