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

Edit Pipeline in Blue ocean resets scm behaviors for all pipeline in Github Org

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • Blue Ocean 1.2
      Jenkins 2.60.3

      When I edit a pipeline in Blue Ocean editor it resets the scm checkout behaviors for all my Pipelines. I'm using Github scm.

      Steps:
      1. Create a pipeline in blue ocean editor for a github project
      2. Switch to classic UI
      3. Configure the Github Organization Pipeline scm - Add "Clean Build Behavior"
      4. Run the Pipeline - notice clean build behavior working
      5. Edit Pipeline in the Blue Ocean editor and save any change
      2. Switch to classic UI
      3. Configure the Github Organization Pipeline scm

      Expected:
      Clean Build behavior to still be present

      Actual:
      Clean Build has been removed

      This is doubly bad because editing any Pipeline in one github organization will side effect to all Pipelines in that organization. Further, it happen silently so users will have difficulty figuring out what happened and why.

            Unassigned Unassigned
            bitwiseman Liam Newman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: