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

Multibranch pipeline - ignore commits from certain user

      I would like my Jenkins multibranch pipeline job to avoid triggering itself. The job makes a commit because it increments the version file and checks it into source control which causes an endless loop.

      In a regular Jenkins job I was able to avoid this loop by using additional behaviors configuration.( I set Polling ignores commits from certain users option to "Jenkins automation server" ).

      This functionality does not work for multibranch pipeline (there is no 'ignore commits from certain users' option). Is there any way in a Jenkins mulitbranch pipeline to prevent a self-triggered commit?

          [JENKINS-48296] Multibranch pipeline - ignore commits from certain user

          Ajit Patel created issue -
          Christian Häussler made changes -
          Component/s New: git-plugin [ 15543 ]

          +1 to have this solved. I have the exactly the same issue and I don't see a work around without introducing too nasty side effects. (e.g. like aborting the build after checking the committer which will pollute the build history)

          Johan Markenstein added a comment - +1 to have this solved. I have the exactly the same issue and I don't see a work around without introducing too nasty side effects. (e.g. like aborting the build after checking the committer which will pollute the build history)

          +1 please!!!!

          Rafi Greenberg added a comment - +1 please!!!!

          Nicolas Paez added a comment -

          +1, in my case I see the option "Polling ignores commits from certain users" but it has no effect.

          Nicolas Paez added a comment - +1, in my case I see the option "Polling ignores commits from certain users" but it has no effect.

          Greg North added a comment -

          +1, would love to clean up my build history

          Greg North added a comment - +1, would love to clean up my build history

          dan tran added a comment -

          We are using BB to ignore the commit user, but is get reset every multi branch job rescanned    ouch

           

          dan tran added a comment - We are using BB to ignore the commit user, but is get reset every multi branch job rescanned    ouch  

          yes please!!! any update on this?

          Ebrahim Moshaya added a comment - yes please!!! any update on this?

          Roberto Sena added a comment -

          +1

          Roberto Sena added a comment - +1

          Josh Wand added a comment -

          Josh Wand added a comment - found this: https://github.com/jenkinsci/ignore-committer-strategy-plugin   

            Unassigned Unassigned
            ajit425 Ajit Patel
            Votes:
            25 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated: