手动触发:
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.