Skip to content
Permalink
Browse files

Merge pull request #24 from Brantone/master

Re-fixing JENKINS-24404 by ensuring passing build
  • Loading branch information
Brantone committed Sep 3, 2015
2 parents 95357f0 + 3700a0b commit c409c677b7f4f48ca8daf3f60371004f0e19346f
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 c409c67

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