[英]How to restart build in jenkins (github pull request) after adding a label
I have created a pull request, after creating pull request the jenkins job will be started.我已经创建了一个拉取请求,创建拉取请求后 jenkins 作业将启动。 this job runs only onece, I do want to restart jenkins job after pushing something new in the branch.
这个作业只运行一次,我确实想在分支中推送新内容后重新启动 jenkins 作业。
my idea is that the jenkins job will be only restarted, if I add a label such as "rebuild"我的想法是,jenkins 作业只会重新启动,如果我添加 label,例如“重建”
My question is, how can I setup in Jenkins configuartion?我的问题是,如何在 Jenkins 配置中进行设置?
It is not possible to restart the build by adding a label when using the GitHub Pull Request builder plugin.使用 GitHub Pull Request 构建器插件时,无法通过添加 label 来重新启动构建。
By default, the plugin is configured to trigger a new build when you add a new comment with the phrase retest this please
to the pull request (you can change the phrase in the plugin configuration)默认情况下,插件配置为在您向拉取请求中添加带有短语
retest this please
的新评论时触发新构建(您可以在插件配置中更改短语)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.