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

Credentials plugin is not using the XSTREAM2 alias when opening the config file

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The plugin doesn't pass the Jenkins XSTREAM2 alias when opening the configuration file so plugins that depend on the credentials plugin can't add a compatibility alias when renaming their classes.
      I've created a PR that has the fix: https://github.com/jenkinsci/credentials-plugin/pull/75
      Please review and let me know if I missed something

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          src/main/java/com/cloudbees/plugins/credentials/CredentialsProviderManager.java
          src/main/java/com/cloudbees/plugins/credentials/SystemCredentialsProvider.java
          http://jenkins-ci.org/commit/credentials-plugin/e03e9b30d62d4683d587fa6a775904e089296e9a
          Log:
          [FIXED JENKINS-40914] Use Jenkins.XSTREAM2 for deserializing config files

          Switched all XmlFile instances to use Jenkins.XSTREAM2 instead of the default one

          Compare: https://github.com/jenkinsci/credentials-plugin/compare/1e606c990c2b...e03e9b30d62d

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/com/cloudbees/plugins/credentials/CredentialsProviderManager.java src/main/java/com/cloudbees/plugins/credentials/SystemCredentialsProvider.java http://jenkins-ci.org/commit/credentials-plugin/e03e9b30d62d4683d587fa6a775904e089296e9a Log: [FIXED JENKINS-40914] Use Jenkins.XSTREAM2 for deserializing config files Switched all XmlFile instances to use Jenkins.XSTREAM2 instead of the default one Compare: https://github.com/jenkinsci/credentials-plugin/compare/1e606c990c2b...e03e9b30d62d

            People

            Assignee:
            stephenconnolly Stephen Connolly
            Reporter:
            clguiman Claudiu Guiman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: