Skip to content
Permalink
Browse files

[FIXED JENKINS-16967] Allow environment variables in phing properties

  • Loading branch information
ssogabe committed Mar 18, 2013
1 parent 0c5382a commit 720a99e5e4e9616d0a3e307068ea62d5b0dccaa0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/phing/PhingBuilder.java
@@ -179,7 +179,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen

Set<String> sensitiveVars = build.getSensitiveBuildVariables();
args.addKeyValuePairs("-D", build.getBuildVariables(), sensitiveVars);
args.addKeyValuePairsFromPropertyString("-D", properties, vr, sensitiveVars);
args.addKeyValuePairsFromPropertyString("-D", env.expand(properties), vr, sensitiveVars);

String expandedOptions = Util.replaceMacro(env.expand(options), vr);
if (expandedOptions == null || !expandedOptions.contains("-logger ")) {

0 comments on commit 720a99e

Please sign in to comment.
You can’t perform that action at this time.