CI / Jenkins Automation - won't trigger build if pull request has an assigned label (or other condition)

At my current company we are using Jenkins, I previously used TeamCity, but the approach looks exactly the same.

Every time someone creates a pull request and then pushes changes, the CI tool (in this case Jenkins) deploys the stuff and builds.

Is it possible to configure it so that it only starts the build / process only if the corresponding pull request ... might say that a certain label has been assigned or something?

In a nutshell ... the current collection takes approx. 3 hours. There can be a lot of new clicks before the PR is merged, and Jenkins doesn't need to trigger every change because "the work is still in progress." On Github, I can add a shortcut to the PR that points to a specific state. Can Jenkins respond to this label - in this case - idle if the "WIP" label is assigned by the PR?

+3


source to share





All Articles