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

Allow properties to be excluded from "_clearJenkinsNS"

    Details

    • Sprint:
      Blue Ocean 1.1
    • Similar Issues:

      Description

      I have found that https://github.com/jenkinsci/blueocean-plugin/blob/68d5f0bd92a9b0f0ba08e52028dea07031468840/blueocean-core-js/src/js/storage.js#L56 is a big problem if you have different jenkins instances under one same domain or installing new plugins clears all localStorage properties in the ns "jenkins-instance"

      That is not desired for many properties like e.g. DEBUG statements of the logger. Why would I want to clear that preference when I e.g. install a new plugin?

      Expected behaviour for logging and preferences stored in the localStorage are to persist and not be cleared. Only jenkins-instance/installInfo should be cleared.

        Attachments

          Issue Links

            Activity

            Hide
            tfennelly Tom FENNELLY added a comment -
            Show
            tfennelly Tom FENNELLY added a comment - PR on js-storage: https://github.com/jenkinsci/js-storage/pull/2
            Hide
            jamesdumay James Dumay added a comment -

            Thorsten Scherler is this actively being worked on?

            Show
            jamesdumay James Dumay added a comment - Thorsten Scherler is this actively being worked on?
            Hide
            tscherler Thorsten Scherler added a comment -

            James Dumay I do not have time to work on it for a while, since we need to finish our project first. I assigned to Cliff Meyers since we pretty much agreed on the base implementation.

            Show
            tscherler Thorsten Scherler added a comment - James Dumay I do not have time to work on it for a while, since we need to finish our project first. I assigned to Cliff Meyers since we pretty much agreed on the base implementation.
            Hide
            jamesdumay James Dumay added a comment -

            Thorsten Scherler no problems mate. Take care

            Show
            jamesdumay James Dumay added a comment - Thorsten Scherler no problems mate. Take care
            Hide
            jamesdumay James Dumay added a comment -

            Reopen if we start working on it again

            Show
            jamesdumay James Dumay added a comment - Reopen if we start working on it again

              People

              • Assignee:
                Unassigned
                Reporter:
                tscherler Thorsten Scherler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: