通过Jenkins标记GitHub项目 [英] Tagging a GitHub project through Jenkins
问题描述
我们的团队最近从本地托管的Subversion存储库转移到了私有的GitHub存储库。在过去,当我们准备标记为'已发布'的构建时,我们将使用'标记此构建'侧栏链接在构建内容上添加SVN标记。
随着迁移到GitHub,我为Jenkins中的构建添加了标签,但它似乎只是在本地标记构建。如果我在工作空间目录中运行 git tag
,但它永远不会被推送到GitHub上,这个标签会显示出来。
有没有办法让詹金斯将标签推送到远程存储库,只要通过詹金斯标记构建?
尚不存在。请在问题跟踪器中提交一张票。我同意这是一个重要的用例。
Our team has recently moved from a locally hosted Subversion repository to a private GitHub repository. In the past, when we had a build that we were ready to mark as 'released', we would use the 'Tag this build' sidebar link to add a SVN tag on the contents of the build.
With the move to GitHub, I have tagging of a build working in Jenkins, but it only seems to tag the build locally. The tag displays up if I run git tag
in the workspace directory, but it never gets pushed to GitHub.
Is there a way to have Jenkins push a tag to a remote repository whenever the build is tagged through Jenkins?
This feature simply doesn't exist yet. Please file a ticket in the issue tracker. I agree that this is an important use case.
这篇关于通过Jenkins标记GitHub项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!