Skip to content
Permalink
Browse files

[JENKINS-51397] Pass environment to docker login command.

  • Loading branch information...
jglick committed May 17, 2018
1 parent e8a1815 commit 2319da7e180d2c49d77f8572becb980573bdf241
Showing with 2 additions and 2 deletions.
  1. +1 −1 pom.xml
  2. +1 −1 src/main/java/org/jenkinsci/plugins/docker/workflow/RegistryEndpointStep.java
@@ -53,7 +53,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>docker-commons</artifactId>
<version>1.12</version>
<version>1.13-rc157.4f7f7772d36c</version> <!-- TODO https://github.com/jenkinsci/docker-commons-plugin/pull/71 -->
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
@@ -85,7 +85,7 @@ public String getToolName() {
@StepContextParameter private transient EnvVars envVars;

@Override protected KeyMaterialFactory newKeyMaterialFactory() throws IOException, InterruptedException {
return step.registry.newKeyMaterialFactory(job, workspace, launcher, listener, DockerTool.getExecutable(step.toolName, node, listener, envVars));
return step.registry.newKeyMaterialFactory(job, workspace, launcher, envVars, listener, DockerTool.getExecutable(step.toolName, node, listener, envVars));
}

}

0 comments on commit 2319da7

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