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

          Michael Neale created issue -
          Michael Neale made changes -
          Epic Link New: JENKINS-36588 [ 172614 ]

          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. 
          Michael Neale made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Michael Neale made changes -
          Description Original: 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. 

           

           
          New: 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)

           

           
          James Dumay made changes -
          Assignee New: James Dumay [ jamesdumay ]

          James Dumay added a comment -

          assign to myself

          James Dumay added a comment - assign to myself
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.2-beta1 [ 336 ] New: Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2 [ 336, 341 ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2 [ 336, 341 ] New: Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3 [ 336, 341, 346 ]

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

              Created:
              Updated:
              Resolved: