Jenkins Job DSL Git Plugin - How to merge before build
问题 First off, this is not a duplicate question of "merge before build" feature. I googled and reviewed whatever I found regarding this feature. But none talks about my problem. We've got Bitbuck Server + Jenkins and I wrote a job for our PRs on Bitbucket: job('pull-request-job') { scm { git { remote { name 'origin' credentials 'jenkins-ssh' url 'ssh://git@stash.example.com/my/repository.git' refspec '+refs/pull-requests/*/from:refs/remotes/*' } branch '**/pull-requests/**' extensions {