When a PR is created to merge any branch into develop
branch, I want to run Jenkins Build on the incoming branch so that I know that after merging the build will be successful.
I found this article and it says I have to configure Refspec as below:
+refs/pull-requests/*/from:refs/remotes/*
but I am not sure where I should update this Refspec so that only PRs against develop
branch triggers Jenkins Build.
Screenshot: