Cannot test current PR branch's groovy script

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: 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.

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

              Created:
              Updated: