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

GitHub plugin triggers builds when changes pushed to global pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have a global pipeline library configured for use my pipeline jobs. In a pipeline I have GitHub hook trigger for GITScm polling enabled. In the pipeline itself I use git scm to checkout a repo. 

      Push changes to either global pipeline (bad) or the project I checkout with git scm (good) trigger a new build.

      In summary: pushing changes to pipeline libs should not trigger new builds for all my jobs that use GITscm polling.

        Attachments

          Issue Links

            Activity

            Hide
            externl Joe George added a comment -

            These are very similar. One is a globally included library and the other is a locally included librar.

            Show
            externl Joe George added a comment - These are very similar. One is a globally included library and the other is a locally included librar.
            Hide
            externl Joe George added a comment -

            Even worse, builds are triggered if unbuilt changes are pushed (and a job unbuilt) and a commit on a different branch is pushed to the testing repo.

            Show
            externl Joe George added a comment - Even worse, builds are triggered if unbuilt changes are pushed (and a job unbuilt) and a commit on a different branch is pushed to the testing repo.
            Hide
            jeraldsm Jerald Sabu added a comment -

            Any update on this issue ?
            I get all 7 builds triggered at the same time even when I commit a change to the pipeline script of other builds where scm polling is not even configured.

            Show
            jeraldsm Jerald Sabu added a comment - Any update on this issue ? I get all 7 builds triggered at the same time even when I commit a change to the pipeline script of other builds where scm polling is not even configured.
            Hide
            externl Joe George added a comment -

            I now better understand how this all works. I'm going to close as it works as expected.

            Show
            externl Joe George added a comment - I now better understand how this all works. I'm going to close as it works as expected.
            Hide
            externl Joe George added a comment -

            This is working as designed.

            Show
            externl Joe George added a comment - This is working as designed.

              People

              Assignee:
              lanwen Kirill Merkushev
              Reporter:
              externl Joe George
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: