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

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

    XMLWordPrintable

Details

    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

            abayer Andrew Bayer created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/114
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "PR #114 (Web Link)" [ 15448 ]

            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.

            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.
            abayer Andrew Bayer made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-1994 (Web Link)" [ 18474 ]
            bitwiseman Liam Newman added a comment -

            Bulk closing resolved issues.

            bitwiseman Liam Newman added a comment - Bulk closing resolved issues.
            bitwiseman Liam Newman made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              abayer Andrew Bayer
              abayer Andrew Bayer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: