jstastny-cz opened a new issue, #731: URL: https://github.com/apache/incubator-kie-issues/issues/731
We use Github Branch Source Plugin to handle PR check execution. The current configuration specifies `.ci/jenkins/Jenkinsfile` path to the triggering Jenkinsfile - meaning when a PR source branch has such a file, the file itself is executed and serves as the PR check. But currently there's no limitation of the PR target branch (into which we want to merge the PR), thus a PR jobs for main branch trigger any PR (having the specified Jenkinsfile in source branch) without any consideration of the target branch. This would lead to issues when the PR check pipelines would be triggering other jobs - there can emerge an inconsistency between main (where the PR check is triggered) and the other target branch, in terms some jobs might be different between the two branches, or even missing. Goal of this task is to find either * a configuration option (there are some filters available) * job design pattern which would make sure that the PR job would respect the branch where it's generated and trigger builds only for PRs with matching target branch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
