paulwong

          【DevOps】Jenkins任務(wù)基于Tag進(jìn)行構(gòu)建

          手動(dòng)觸發(fā):
          https://blog.csdn.net/justyman/article/details/89857577

          如果是自動(dòng)觸發(fā)BUILD時(shí),則可以以最新建立的TAG為基礎(chǔ)進(jìn)行BUILD,而無(wú)需人手選TAG進(jìn)行BUILD。
          配置,注意應(yīng)取消參數(shù)化配置工程:
          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 閱讀(382) 評(píng)論(0)  編輯  收藏 所屬分類: JENKINS

          主站蜘蛛池模板: 孝昌县| 太仓市| 泗洪县| 丹棱县| 翁源县| 农安县| 鹤庆县| 玉环县| 石首市| 本溪| 晋城| 峨山| 河北省| 松桃| 青州市| 彭泽县| 枣庄市| 汉沽区| 庆阳市| 仪陇县| 浠水县| 凌源市| 定结县| 拉萨市| 河北省| 仙桃市| 太谷县| 惠州市| 宝山区| 资阳市| 淮安市| 德钦县| 盘锦市| 红原县| 灵石县| 抚顺县| 高安市| 衡山县| 江川县| 白沙| 哈巴河县|