I want to decline Jenkins Job for PR if a merge conflict is present. How do I go about it?
Asked
Active
Viewed 320 times
1 Answers
0
Use pre-tested integration to verify your commits and make a decision whether to process with Jenkins job or discard it.

Ayman Arif
- 1,456
- 3
- 16
- 40
-
1Thanks for the suggestion. But I didn't want to install any plugin I got a solution where I can distinguish whether there is a merge conflict in that particular pull request or not. There is a git parameter **${GITHUB_PR_COND_REF}** which we can make use of – Mithiridi Prasanth Apr 09 '20 at 07:10