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

Global Pipeline Libraries configuration lost

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Environment:
    • Similar Issues:

      Description

      I have multiple shared libraries specified in the Global Pipeline Libraries section of the configuration. After upgrading Jenkins and its plugins, the all the configuration was lost except for the names. When trying to re-enter the config, I found that after entering the SCM details for one library and saving, the SCM configuration for the other libraries was lost again. Only by manually editing org.jenkinsci.plugins.workflow.libs.GlobalLibraries.xml could the config be restored.

        Attachments

          Issue Links

            Activity

            Hide
            pwiseman Peter Wiseman added a comment -

            I've experienced the same problem.  Lost configuration after upgrade from 2.132 to 2.207. 

            • Pipeline Shared Groovy Library v2.15
            • Subversion Plugin v2.12.2
            Show
            pwiseman Peter Wiseman added a comment - I've experienced the same problem.  Lost configuration after upgrade from 2.132 to 2.207.  Pipeline Shared Groovy Library v2.15 Subversion Plugin v2.12.2
            Hide
            pwiseman Peter Wiseman added a comment -

            With Permissive Script Security at 0.5, the Global Pipeline Library SCM configuration information is no longer visible.  If that were all it might be ok, but upon saving, the configuration, is removed.

            Show
            pwiseman Peter Wiseman added a comment - With Permissive Script Security at 0.5, the Global Pipeline Library SCM configuration information is no longer visible.  If that were all it might be ok, but upon saving, the configuration, is removed.
            Hide
            pwiseman Peter Wiseman added a comment -

            I tried Permissive Script Security 0.4. It does not have the issue.

            Show
            pwiseman Peter Wiseman added a comment - I tried Permissive Script Security 0.4. It does not have the issue.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            CC Liam Newman Devin Nusbaum who are the Pipeline maintainers ATM

            Show
            oleg_nenashev Oleg Nenashev added a comment - CC Liam Newman Devin Nusbaum who are the Pipeline maintainers ATM
            Hide
            dnusbaum Devin Nusbaum added a comment -

            Based on the comments here, in JENKINS-57171, and JENKINS-59145 (which looks like the same issue but when configuring a Pipeline job from SCM instead of a shared library SCM), the issue seems to be specific to Permissive Script Security 0.5 (I think this is the only change in that release), so I am changing the component. There may be some issue in the interaction between Permission Script Security and Script Security, but I'm not sure. If anyone has any relevant error messages or stack traces in your Jenkins logs, or any error messages in your browser console, that would be helpful.

            Show
            dnusbaum Devin Nusbaum added a comment - Based on the comments here, in JENKINS-57171 , and JENKINS-59145 (which looks like the same issue but when configuring a Pipeline job from SCM instead of a shared library SCM), the issue seems to be specific to Permissive Script Security 0.5 ( I think this is the only change in that release ), so I am changing the component. There may be some issue in the interaction between Permission Script Security and Script Security, but I'm not sure. If anyone has any relevant error messages or stack traces in your Jenkins logs, or any error messages in your browser console, that would be helpful.
            Hide
            olivergondza Oliver Gondža added a comment -

            permissive-script-security maintainer here, I failed to reproduce this with version 0.5 installed and enabled so I suspect there must be something else involved. Please share the config.xml of the affected job and org.jenkinsci.plugins.workflow.libs.GlobalLibraries.xml, where there is reported the stored config (of one or the other) is not rendered in UI.

            Show
            olivergondza Oliver Gondža added a comment - permissive-script-security maintainer here, I failed to reproduce this with version 0.5 installed and enabled so I suspect there must be something else involved. Please share the config.xml of the affected job and org.jenkinsci.plugins.workflow.libs.GlobalLibraries.xml , where there is reported the stored config (of one or the other) is not rendered in UI.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              deverett Daniel Everett
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: