-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
Jenkins provides a powerful macro expansion capability https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin
In file ArtifactDeployerBuilder.java I'd suggest to replace:
final String includes = build.getEnvironment(listener).expand(entry.getIncludes());
final String excludes = build.getEnvironment(listener).expand(entry.getExcludes());
final String outputPath = build.getEnvironment(listener).expand(entry.getRemote());
with something like:
final String includes = TokenMacro.expandAll(build, listener, entry.getIncludes());
final String excludes = TokenMacro.expandAll(build, listener, entry.getExcludes());
final String outputPath = TokenMacro.expandAll(build, listener, entry.getRemote());
Thank you for considering this and for the great ArtifactDeployer plugin.