From d4fbda0c2dacb3e241496f9f772a8a8ed3219d16 Mon Sep 17 00:00:00 2001 From: arthurvanduynhoven Date: Mon, 14 Oct 2019 14:13:48 +0200 Subject: [PATCH 1/2] Updated docker-commons to 1.15 and other dependencies --- pom.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 8b8076468..3170942be 100644 --- a/pom.xml +++ b/pom.xml @@ -31,11 +31,11 @@ 1.22 -SNAPSHOT - 2.60.3 + 2.150.1 8 - 2.18 - 2.12 - 2.25 + 2.19 + 3.3 + 2.67 @@ -53,7 +53,7 @@ org.jenkins-ci.plugins docker-commons - 1.14 + 1.15 org.jenkins-ci.plugins.workflow @@ -63,7 +63,7 @@ org.jenkins-ci.plugins.workflow workflow-durable-task-step - 2.8 + 2.30 org.jenkins-ci.plugins.workflow @@ -73,12 +73,12 @@ org.jenkins-ci.plugins.workflow workflow-api - 2.8 + 2.33 org.jenkins-ci.plugins script-security - 1.25 + 1.58 org.jenkins-ci.plugins.workflow @@ -120,7 +120,7 @@ org.jenkins-ci.plugins credentials-binding - 1.12 + 1.18 test From 095bfa7afede1f2209f74cfd44ab33d55e3b77ba Mon Sep 17 00:00:00 2001 From: Arthur Van Duynhoven Date: Mon, 14 Oct 2019 15:57:59 +0200 Subject: [PATCH 2/2] remove check for null as it's being check in docker-commons library --- .../jenkinsci/plugins/docker/workflow/client/DockerClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java b/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java index 6562606fb..22e54d047 100644 --- a/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java +++ b/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java @@ -281,7 +281,7 @@ private LaunchResult launch(@Nonnull EnvVars launchEnv, boolean quiet, @Nonnull private LaunchResult launch(@Nonnull EnvVars launchEnv, boolean quiet, FilePath pwd, @Nonnull String... args) throws IOException, InterruptedException { return launch(launchEnv, quiet, pwd, new ArgumentListBuilder(args)); } - private LaunchResult launch(@CheckForNull @Nonnull EnvVars launchEnv, boolean quiet, FilePath pwd, @Nonnull ArgumentListBuilder args) throws IOException, InterruptedException { + private LaunchResult launch(@Nonnull EnvVars launchEnv, boolean quiet, FilePath pwd, @Nonnull ArgumentListBuilder args) throws IOException, InterruptedException { // Prepend the docker command args.prepend(DockerTool.getExecutable(toolName, node, launcher.getListener(), launchEnv));