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,而無需人手選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 閱讀(385) 評論(0)  編輯  收藏 所屬分類: JENKINS

          主站蜘蛛池模板: 洪泽县| 左贡县| 常宁市| 龙山县| 清苑县| 依安县| 冷水江市| 精河县| 驻马店市| 姚安县| 普兰店市| 通江县| 忻城县| 象州县| 荥经县| 京山县| 凯里市| 云浮市| 新田县| 富裕县| 留坝县| 堆龙德庆县| 北安市| 宁安市| 图们市| 天祝| 平顺县| 宜良县| 休宁县| 永寿县| 定远县| 江川县| 新河县| 桐城市| 安顺市| 阜新| 高安市| 商都县| 张家港市| 措美县| 永胜县|