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

Expose custom SCM tag and SCM login Username as environment variables

      When building a Maven release it would be very helpful if "custom SCM tag" and "SCM login Username" were exposed as environment variables

          [JENKINS-13527] Expose custom SCM tag and SCM login Username as environment variables

          Jeff Maxwell created issue -
          Jeff Maxwell made changes -
          Description Original: When building a Maven release, the parameters Release Version and Development Version are passed to the Maven release command via -DreleaseVersion and -DdevelopmentVersion respectively.
          It would be extremely handy to expose these as environment variables so that they can be accessed throughout the job configuration; for example just like the variable WORKSPACE.
          New: When building a Maven release it would be very helpful if "custom SCM tag" and "SCM login Username" were exposed as environment variables
          Labels Original: envinronment-variables New: environment-variables

          Anders Hammar added a comment -

          SCM username and password can be exposed as env vars if configure for that in the Jenkins project configuration.

          Anders Hammar added a comment - SCM username and password can be exposed as env vars if configure for that in the Jenkins project configuration.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 143993 ] New: JNJira + In-Review [ 176055 ]
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]

            Unassigned Unassigned
            jmaxwell Jeff Maxwell
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: