Skip to content
Permalink
Browse files

Re-fixing JENKINS-24404 by ensuring passing build

  • Loading branch information
Brantone committed Sep 3, 2015
1 parent 95357f0 commit 3700a0bfc5764a8f26cccd3118e4c8f1fc30fa2a
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/main/java/hudson/plugins/templateproject/ProxySCM.java
@@ -179,11 +179,7 @@ public boolean supportsPolling() {

@Override
public void buildEnvVars(AbstractBuild<?, ?> build, java.util.Map<String, String> env) {
// Limitation : Currently only supports build variable for replacement.
// Gets into infinite loop using `getEnvironment() since it loops
// back to `getScm().buildEnvVars()`
String pName = Util.replaceMacro(getProjectName(), build.getBuildVariables());
getProjectScm().buildEnvVars(build, env);
getProjectScm(build).buildEnvVars(build, env);
}

@Override

0 comments on commit 3700a0b

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