In my current company we use Jenkins, previously I used TeamCity but the approach looks exactly the same.
Every time someone creates a pull request and pushes changes, CI tool (Jenkins in this case) triggers the build.
Is it possible to configure it the way that it will trigger the build only if a corresponding pull request has… let's say a particular label assigned or something?
In a nutshell… current build takes approx. 3 hrs. Before the PR is merged, a lot of new pushes can come and Jenkins doesn't have to run on every change because "work is still in progress". In Github I can add a label to PR that indicates a certain state. Can Jenkins react on that label - in this case - be idle if a "WIP" label is assigned to PR?