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

PRs auto-rebuilds - PRs still start running after merge to master

XMLWordPrintable

      Hello, I am facing an interesting issue: I have 3 open PRs , so when I make a merge to master the remaining 2 start to run automatically , but I dont want that behavior. The better approach for me is to run pipeline only  on PR when is created AND after PR is merged(to master) to run on master.

      I saw ticket JENKINS-37491 where it said to: Install Basic Branch Build Strategies plugin and add the "Change Requests" with "Ignore rebuilding merge branches when only the target branch changed" selected to your build strategies... but that behavior stop pipeline to run on master branch and I dont want that. Also the setting Regular Branches" its appear with the state "Not Build"  when a PR is created , this case also is not good for me

      So  is any chance to stop trigger remaining PRs after a merge to master is made?   

            igalg Igal Gluh
            flaviuslinus Flavius linus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: