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

make trigger match both repository and branch

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor Minor
    • bitbucket-plugin
    • None

      Hello,

      I'm trying to setup the build of a pipeline for a project hosted on bitbucket. We have multiple pipelines configured on Jenkins for the same repository but for different branches. I want to build a specific pipeline only when both the repository and the branch that triggered the webhook is from a branch listed in the "branches to build" configuration. Currently a build is triggered on every push on the repository despite the branch configured. Is this use case already supported and I am missing something? If not would you accept any contribution in that regard? I'm new to Jenkins (and Java) but I can hack something i guess.

      Thanks!

            tzach_solomon Tzach Solomon
            rm__ Riccardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: