Hi all, I was pointed from INFRA Slack to builds@apache.org to ask my question.
I was looking at [1]. In TomEE we have the situation, that we have different branches to maintain different versions of TomEE (which are built with different Java versions and different Maven versions) such as 9.x, 8.x, 7.1.x, 7.0.x, etc We have PRs enabled on GitHub and would like to automatically build them via Jenkins. This setup worked okaish in the past (as we build with the same baseline: Java 8). Is it possible to setup the CloudBees PR Builderto only build PRs targeting a specific branch, i.e. - If I have a PR which targets "master" -> a specific jenkins job should build it: https://ci-builds.apache.org/job/Tomee/job/master-pull-request/ - If I have a PR which targets "tomee-8.x" -> another jenkins job should built it: https://ci-builds.apache.org/job/Tomee/job/pull-request/ We experimented with branch specifiers, but that does not seem to be the solution as the PRs are built regardless the target branch specified in the PR. If you have some hints or can point me to an example, that would be very much appreciated. Thanks in advance, Richard [1] https://cwiki.apache.org/confluence/display/INFRA/Kicking+off+a+Jenkins+build+with+a+GitHub+PR