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

Multibranch pipeline - ignore commits from certain user

    Details

    • Similar Issues:

      Description

      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?

        Attachments

          Activity

          Hide
          dantran dan tran added a comment -

          it is working now after reconfiguring the same setup again. Thanks for all the help.

          Show
          dantran dan tran added a comment - it is working now after reconfiguring the same setup again. Thanks for all the help.
          Hide
          xbmono Mohammad Norouzi added a comment -

          dan tran I assume these changes you guys are talking about haven't been merged and released yet. Is that right? or can we use the plugin now?

          Thanks

          Show
          xbmono Mohammad Norouzi added a comment - dan tran I assume these changes you guys are talking about haven't been merged and released yet. Is that right? or can we use the plugin now? Thanks
          Show
          drdamour chirs damour added a comment - everything is released cf  https://issues.jenkins-ci.org/browse/JENKINS-48296?focusedCommentId=364281&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-364281
          Hide
          dantran dan tran added a comment - - edited

          Things went well until I picked up the latest plugins on 4/11. All BB branch source events, except the PR events, sent to Jenkins are ignored. Ended up to remove the settings

          Any one facing the same issue? or it is just me

          Show
          dantran dan tran added a comment - - edited Things went well until I picked up the latest plugins on 4/11. All BB branch source events, except the PR events, sent to Jenkins are ignored. Ended up to remove the settings Any one facing the same issue? or it is just me
          Hide
          drdamour chirs damour added a comment -

          yup they broke it with JENKINS-38552 i filed JENKINS-56984

          Show
          drdamour chirs damour added a comment - yup they broke it with  JENKINS-38552 i filed  JENKINS-56984

            People

            • Assignee:
              vaimr Denis Saponenko
              Reporter:
              ajit425 Ajit Patel
            • Votes:
              23 Vote for this issue
              Watchers:
              32 Start watching this issue

              Dates

              • Created:
                Updated: