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

Any commit to common library SCM repository triggers all pipeline build plans

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      I'm using Modern SCM repository to maintain common library functions referenced by component build plan Jenkinsfiles. Any commit to the common library code appears to trigger a re-build of all Pipeline build plans, without an option to disable this feature. I'd like to selectively re-build everything, instead of automatically triggering all builds (which will result in a lot of unnecessary builds in my case). I've tried changing the implicit loading behaviour of the library, and also the option to "Ignore on push notifications" when defining the common library in system configuration options.

      Is there a way to disable auto-triggering the Pipeline build plans when committing changes to the common library repository?

        Attachments

          Issue Links

            Activity

            aceponkus Andrew Ceponkus created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-41497 [ JENKINS-41497 ]
            abayer Andrew Bayer made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              aceponkus Andrew Ceponkus
              Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: