jenkins在推送时构建每个标签

时间:2016-10-19 02:10:44

标签: github jenkins

我希望jenkins在push上构建每个github标记。我关注了这些帖子

jenkins trigger build if new tag is released
Jenkins Git Plugin: How to build specific tag?
Is it possible for Jenkins to automatically detect and build newly created tags in a git repo?

当我推送一个标签时,它会触发一个构建但是提交ID错误。它使用最新版本(甚至不是主版)。有没有办法选择与标签关联的正确提交?

refspecs: +refs/tags/*:refs/remotes/origin/tags/*  

branch: */tags/*

还选择了“将更改推送到GitHub时构建”

0 个答案:

没有答案