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

Make passed SCM credentials available to other plugins

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • m2release-plugin
    • None
    • all

      By making the passed SCM credentials available to other plugins, it will be possible to enhance pre/post release build steps with the maven-scm-plugin.

      This would allow to do some automated modifications on the source befor the real release will be triggered.

      http://issues.jenkins-ci.org/browse/JENKINS-6601 is a prerequisite.

          [JENKINS-6944] Make passed SCM credentials available to other plugins

          As discussed via Mail, I add this for documentation...

          I would like to use a normal maven build step and trigger the mvn scm like this:

          $> mvn scm:checkin -Dpassword=$SCM_PASSWORD -Dusername=$SCM_USER

          Dominik Bartholdi added a comment - As discussed via Mail, I add this for documentation... I would like to use a normal maven build step and trigger the mvn scm like this: $> mvn scm:checkin -Dpassword=$SCM_PASSWORD -Dusername=$SCM_USER

          Code changed in jenkins
          User: imod
          Path:
          src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java
          src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/config.jelly
          src/main/webapp/help-projectConfig-scmPasswordEnvVar.html
          src/main/webapp/help-projectConfig-scmUserEnvVar.html
          http://jenkins-ci.org/commit/m2release-plugin/7405c6477e380cd2a7df4e68b53e4923e542e0b0
          Log:
          fix JENKINS-6944 - Make passed SCM credentials available to other plugins

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/config.jelly src/main/webapp/help-projectConfig-scmPasswordEnvVar.html src/main/webapp/help-projectConfig-scmUserEnvVar.html http://jenkins-ci.org/commit/m2release-plugin/7405c6477e380cd2a7df4e68b53e4923e542e0b0 Log: fix JENKINS-6944 - Make passed SCM credentials available to other plugins

          fixed since version 0.9.0

          Dominik Bartholdi added a comment - fixed since version 0.9.0

            domi Dominik Bartholdi
            domi Dominik Bartholdi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: