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

            bitwiseman Liam Newman added a comment -

            Bulk closing resolved issues.

            bitwiseman Liam Newman added a comment - Bulk closing resolved issues.

            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 added a comment - PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/114

            People

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

              Dates

                Created:
                Updated:
                Resolved: