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

git scm poll doesn't ignore changes with pipeline

    Details

    • Similar Issues:

      Description

      We are using the job as attached with the groovy test.groovy file. We poll the SCM for changes but want to ignore any change that is in our jenkins-jobs git repo. This is because in a full setup we poll more repositories which do change. In the jenkins pipeline we use .* as exclude region. This does work unless we clone the same repository in our test.groovy. There we say poll=false, but the repository is polled and at the moment we make a commit to jenkins-jobs.git the job is run. With these configuration we would expect this job to never run, even when we schedule it frequrently

        Attachments

        1. config.xml
          2 kB
        2. test.groovy
          0.2 kB

          Issue Links

            Activity

            jwillemsen Johnny Willemsen created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Component/s workflow-scm-step-plugin [ 21717 ]
            Component/s workflow-cps-plugin [ 21713 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-38659 [ JENKINS-38659 ]
            0x89 Martin Sander made changes -
            Link This issue relates to JENKINS-39621 [ JENKINS-39621 ]
            jlehtnie Jukka Lehtniemi made changes -
            Priority Minor [ 4 ] Major [ 3 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                jwillemsen Johnny Willemsen
              • Votes:
                16 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated: