-
Bug
-
Resolution: Unresolved
-
Minor
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.