手動觸發:
https://blog.csdn.net/justyman/article/details/89857577
如果是自動觸發BUILD時,則可以以最新建立的TAG為基礎進行BUILD,而無需人手選TAG進行BUILD。
配置,注意應取消參數化配置工程:
- Add the following refspec to the Git plugin:
+refs/tags/*:refs/remotes/origin/tags/*
- Add the following branch specifier:
*/tags/*
- Enable SCM polling, so that the job detects new tags.