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

Pipeline polling ignores special polling rules

      The git plugin currently offers several special rules on polling:

      1. Polling ignores commits from certain users
      2. Polling ignores commits from certain paths (Included/Excluded regions)
      3. Polling ignores commits with certain messages
      4. Branch specifier

      For example:
      checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'UserExclusion', excludedUsers: 'dvader'], [$class: 'PathRestriction', excludedRegions: 'One/.*', includedRegions: 'Test/.*'], [$class: 'MessageExclusion', excludedMessage: '.\\[maven-release-plugin
      ].
      ']], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[credentialsId: '...', url: 'ssh://git@bitbucket.org/test.git']]])

      If a commit is committed to bitbucket.org/test.git, regardless of the user, location, branch or message, the step that includes the checkout will be run.

      Similar issue has been reported in:

          [JENKINS-36195] Pipeline polling ignores special polling rules

          Darth Vader created issue -
          Darth Vader made changes -
          Link New: This issue is related to JENKINS-35988 [ JENKINS-35988 ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Darth Vader made changes -
          Assignee New: Jesse Glick [ jglick ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 172856 ] New: JNJira + In-Review [ 184814 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-36836 [ JENKINS-36836 ]
          Jesse Glick made changes -
          Component/s New: workflow-job-plugin [ 21716 ]
          Component/s New: workflow-scm-step-plugin [ 21717 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          Slawomir Demichowicz made changes -
          Attachment New: image-2017-07-18-16-01-33-798.png [ 38933 ]

            Unassigned Unassigned
            dvader Darth Vader
            Votes:
            108 Vote for this issue
            Watchers:
            109 Start watching this issue

              Created:
              Updated: