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

Changed github org folder branch settings are reset when a new pipeline is added by the wizard to defaults

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3

      With the blue ocean creation wizard, it replaces the GithuSCMNavigator each time when there is a new pipeline added (with the new pattern). the side effect is any tweaks to branch settings are reset to the defaults (eg for building pull requests, or not...). 

       

      What should happen: should only change the pattern, no other settings. 

       

      this is addressed by https://github.com/jenkinsci/blueocean-plugin/pull/1188 - which can be completed when the new branch source stuff is released. 

      This also may be made redundant if we migrate away from org folders (I think 1188 is still warranted though)

       

       

          [JENKINS-45058] Changed github org folder branch settings are reset when a new pipeline is added by the wizard to defaults

          I think there is a second, related problem, if the user modifies the regex by hand but uses regex elements that are not in line with the pattern managed by BlueOcean, those extra regexes will be lost too.

          Stephen Connolly added a comment - I think there is a second, related problem, if the user modifies the regex by hand but uses regex elements that are not in line with the pattern managed by BlueOcean, those extra regexes will be lost too.

          Michael Neale added a comment -

          The regex thing - yes not worried so much about that (too bad, so sad). In any case, org folders in this way are being retired for blue ocean so it reduces the risk even more so. 

          Michael Neale added a comment - The regex thing - yes not worried so much about that (too bad, so sad). In any case, org folders in this way are being retired for blue ocean so it reduces the risk even more so. 

          James Dumay added a comment -

          assign to myself

          James Dumay added a comment - assign to myself

          James Dumay added a comment -

          This will be deleted and replaced in JENKINS-45240

          James Dumay added a comment - This will be deleted and replaced in JENKINS-45240

            jamesdumay James Dumay
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: