Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75140

Cannot test current PR branch's groovy script

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    • None

      I have a MultiBranch Pipeline Project in Jenkins that uses the Bitbucket Branch Source plugin against Bitbucket Server.  I set this up a webhook to notify Jenkins when I open a pull request, which is working fine. The problem that I'm seeing is when the webhook triggers, Jenkins executes the Jenkinsfile script from the master branch, NOT the one in the branch for my pull request.  Because of this, I'm unable to test out changes to my Jenkinsfile before merging into the master branch.

            Unassigned Unassigned
            kraken55 Daniel
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: