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

GitHub plugin triggers builds when changes pushed to global pipeline

    XMLWordPrintable

Details

    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

            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.

            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.
            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.

            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.
            externl Joe George added a comment -

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

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

            This is working as designed.

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

            externl how did you get it to work ? I am facing the same issue. Change in shared library is triggered builds.

            richmond Rich added a comment - externl  how did you get it to work ? I am facing the same issue. Change in shared library is triggered builds.

            People

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

              Dates

                Created:
                Updated:
                Resolved: