简体   繁体   English

在对bitbucket的特定提交时构建工作詹金斯

[英]Build job jenkins at specific commit to bitbucket

i need start a build on Jenkins only when i push and commit with specific message to bitbucket. 我只有在将特定消息推送并提交到bitbucket时才需要在Jenkins上开始构建。 Actually work with webhooks but every push, the build starting. 实际上与webhooks一起使用,但是每次推送都会开始构建。 I have tried with git plugin and "Additional Behaviours" but not sure what is possible. 我已经尝试使用git插件和“其他行为”,但不确定是否有可能。

Git配置项目页面

It is a weird requirement. 这是一个奇怪的要求。 You could create filter job which will be executed at each commit, check commit message and trigger your job only when necessary. 您可以创建将在每次提交时执行的过滤器作业,检查提交消息并仅在必要时触发您的作业。

PS Found Commit Message Trigger Plugin PS找到提交消息触发器插件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM