简体   繁体   English

添加 label 后如何在 jenkins(github 拉取请求)中重新启动构建

[英]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.

相关问题 詹金斯在Github中合并拉取请求后建立工作 - Jenkins build job after merging pull request in Github Jenkins 在 GitHub 中合并拉取请求后不会触发构建 - Jenkins won't trigger build after merging a pull request in GitHub 当有github pull请求时如何触发jenkins构建 - How to trigger a jenkins build when there is a github pull request Jenkins管道构建github pull请求 - Jenkins pipeline build github pull request GitHub在请求请求后调用CI构建 - GitHub invokes CI build after a pull request 无法让 Jenkins 更新具有构建状态的 GitHub 拉取请求 - Cannot get Jenkins to update GitHub Pull Request with a build status 在提交/拉取请求上跟踪多个github repo以构建jenkins作业 - track multiple github repo on commit/pull request to build a jenkins job 将自定义构建 output 从 jenkins 提交到 GitHub 拉取请求作为评论 - Submit custom build output from jenkins to a GitHub Pull request as comment jenkins为一个github pull请求运行多个构建 - jenkins running multiple build for one github pull request 如何制作由拉取请求触发的 Jenkins 管道以构建 Github 项目中的所有存储库 - How to make a Jenkins pipeline triggered by a pull request to build all the repositories in a Github project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM