Permalink
Browse files

Merge pull request #3 from clifford-github/master

[FIXED JENKINS-19187] User variables are not set to Maven3 build
  • Loading branch information...
clifford-github committed Apr 11, 2014
2 parents 0a44831 + 1984212 commit 61450e9337aaf55ecd280f03bc6473e076baf729
Showing with 7 additions and 3 deletions.
  1. +7 −3 src/main/java/org/jenkinsci/plugins/builduser/BuildUser.java
@@ -46,10 +46,14 @@ public BuildUser() {

@SuppressWarnings("rawtypes")
@Override
public Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException {
public Environment setUp(final AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException {
/* noop */
return new Environment() {
};
return new Environment() {
@Override
public void buildEnvVars(Map<String, String> env) {
makeUserBuildVariables(build, env);
}
};
}


0 comments on commit 61450e9

Please sign in to comment.