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

Global config settings for Pipeline Model Definition do not persist through restart

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Note that the per-folder config settings for label, registry URL and registry creds persist just fine, but the equivalent global config settings do not. They just come up blank after restart.

        Attachments

          Issue Links

            Activity

            Show
            abayer Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/114
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/config/GlobalConfig.java
            pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/DurabilityTest.java
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/5f7ec49127f9f68d5299b7dc70fab0f59a336dcd
            Log:
            [FIXED JENKINS-42027] Actually load GlobalConfig from disk

            We weren't doing this before, and so the settings in GlobalConfig
            weren't being persisted. That was an oopsie, but this is an easy fix.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/config/GlobalConfig.java pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/DurabilityTest.java http://jenkins-ci.org/commit/pipeline-model-definition-plugin/5f7ec49127f9f68d5299b7dc70fab0f59a336dcd Log: [FIXED JENKINS-42027] Actually load GlobalConfig from disk We weren't doing this before, and so the settings in GlobalConfig weren't being persisted. That was an oopsie, but this is an easy fix.

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                abayer Andrew Bayer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: