Skip to content
Permalink
Browse files

Merge pull request #12 from vb-linetco/add-build-env-var-support

[FIXED JENKINS-24404] added support for build environment variables
  • Loading branch information
Brantone committed Apr 8, 2015
2 parents 657f327 + b0c45a4 commit 11bc1c8a59fa3b8bb5fe1fea9653225cd5c2db4c
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/hudson/plugins/templateproject/ProxySCM.java
@@ -132,6 +132,10 @@ public boolean requiresWorkspaceForPolling() {
public boolean supportsPolling() {
return getProject().getScm().supportsPolling();
}
@Override
public void buildEnvVars(AbstractBuild<?, ?> build, java.util.Map<String, String> env) {
getProject().getScm().buildEnvVars(build, env);
}

@Override
public SCMRevisionState calcRevisionsFromBuild(AbstractBuild<?, ?> paramAbstractBuild, Launcher paramLauncher, TaskListener paramTaskListener) throws IOException, InterruptedException {

0 comments on commit 11bc1c8

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