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

Copying multibranch pipeline should defer scan/trigger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins v2.222.1
      Pipeline: Multibranch v2.21

      Until recently, when creating a new job by copying a multibranch pipeline, the scan would not be triggered until the new job was actually saved. But now the new job incorrectly gets triggered upon copying, before we have an opportunity to change the configuration. This basically makes the "Copy from" feature useless.

      For example, we commonly have multiple copies of a multibranch pipeline, each with a different branch name filter applied. So now when we try to copy an existing job, we have to manually kill all the builds that were implicitly triggered. (The issue is compounded because all the aborted builds then show up as failures in Bitbucket.)

            Unassigned Unassigned
            rittneje Jesse Rittner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: