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

Credentials are not injected in the settings via the environment variable

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Le <servers /> credentials provided by the credentials plugin integration are correctly injected in a settings file for the Maven build as described, but not in the settings file generated for the environment variable.

      The <servers /> part is missing in this last generated file.

      The last version (2.7.1 at the time of the writing) contains this bug.

        Attachments

          Activity

          Hide
          obillard Olivier Billard added a comment -

          I hope i'll be able to provide a clean pull request soon.
          I managed to make it work on my side.

          Show
          obillard Olivier Billard added a comment - I hope i'll be able to provide a clean pull request soon. I managed to make it work on my side.
          Hide
          obillard Olivier Billard added a comment -

          I provided a pull request for this fix.

          Show
          obillard Olivier Billard added a comment - I provided a pull request for this fix.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Billard
          Path:
          src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ManagedFileUtil.java
          src/main/java/org/jenkinsci/plugins/configfiles/maven/GlobalMavenSettingsConfig.java
          src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenSettingsConfig.java
          src/main/java/org/jenkinsci/plugins/configfiles/maven/security/HasServerCredentialMappings.java
          http://jenkins-ci.org/commit/config-file-provider-plugin/33a81d3294373aa8871d8ff4efd84b78f799bf33
          Log:
          JENKINS-21494 Added server credentials also in the settings provided via environment variables.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Billard Path: src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ManagedFileUtil.java src/main/java/org/jenkinsci/plugins/configfiles/maven/GlobalMavenSettingsConfig.java src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenSettingsConfig.java src/main/java/org/jenkinsci/plugins/configfiles/maven/security/HasServerCredentialMappings.java http://jenkins-ci.org/commit/config-file-provider-plugin/33a81d3294373aa8871d8ff4efd84b78f799bf33 Log: JENKINS-21494 Added server credentials also in the settings provided via environment variables.
          Hide
          obillard Olivier Billard added a comment - - edited

          Hi,
          The release process seems to be broken : the last release in the plugins site is the 2.2.1.
          http://updates.jenkins-ci.org/download/plugins/config-file-provider/

          [update] This URL contains the latest version : http://mirrors.jenkins-ci.org/plugins/config-file-provider/
          It may be a sync problem.

          Show
          obillard Olivier Billard added a comment - - edited Hi, The release process seems to be broken : the last release in the plugins site is the 2.2.1. http://updates.jenkins-ci.org/download/plugins/config-file-provider/ [update] This URL contains the latest version : http://mirrors.jenkins-ci.org/plugins/config-file-provider/ It may be a sync problem.

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              obillard Olivier Billard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: