From 7aed1f65b4bd545e69f844df129393bd437959a1 Mon Sep 17 00:00:00 2001 From: "alexey.grigorov" Date: Thu, 25 Oct 2018 23:31:25 +0300 Subject: [PATCH] use jnlp tunnel in the endpoint --- .../csanchez/jenkins/plugins/kubernetes/KubernetesSlave.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesSlave.java b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesSlave.java index 660e5fd51a..ad85220e42 100644 --- a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesSlave.java +++ b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesSlave.java @@ -472,7 +472,7 @@ public KubernetesSlave build() throws IOException, Descriptor.FormException { nodeDescription == null ? podTemplate.getName() : nodeDescription, cloud.name, label == null ? podTemplate.getLabel() : label, - computerLauncher == null ? new KubernetesLauncher() : computerLauncher, + computerLauncher == null ? new KubernetesLauncher(cloud.getJenkinsTunnel(), null) : computerLauncher, retentionStrategy == null ? determineRetentionStrategy() : retentionStrategy); } }