Jenkins setup: Jenkins 2.492.2
Pipeline Multibranch: 03.v08103b_87c280 (Pipeline: Multibranch)
Priority-Sorter plugin: Priority Sorter
This might be related to the Priority Sorter plugin, but I’m not sure whether it has the functionality I need.
I have set up Jenkins to run a PR builder for both the pull request itself and the commit in the branch. When engineers create multiple PRs, Jenkins executes jobs for both the PR builder and the branch commit.
Due to resource constraints, I want to prioritize PR jobs higher than branch-based jobs, so that engineers will get the build result ASAP. The job type can be determined by inspecting CHANGE_ID
.
Is this possible with Priority Sorter, or can it be achieved using plain Jenkins?
Thank you.