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

Environment variables not available during redeploy

XMLWordPrintable

      During the normal Maven build in Jenkins, environment variables are available as env.VARIABLE.
      Unfortunately these are missing in the redeploy publisher.

      Additionally, the normal Maven build expands environment variables in the goals and options, e.g. to provide username/password, Maven profile, etc. See https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/MavenModuleSetBuild.java#L846

      This is also missing in the redeploy publisher.

            Unassigned Unassigned
            capf Carsten Pfeiffer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: