-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
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.
- relates to
-
JENKINS-35026 Pipeline script from SCM triggers builds on sub pipeline change
-
- Open
-
-
JENKINS-39615 Global Pipeline Libraries triggers the 'poll SCM' of jobs
-
- Reopened
-
I'm not sure I follow. The issue is that pushing to a git repo that is never checked out using GitScm in a pipeline and is used only as a global pipeline library should not trigger builds.
Other jobs that are are not pipeline jobs but use git push triggers do not have this issue.