From 34831ecf2827d78e75d8dca053f5e8024446c32c Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Fri, 27 Oct 2023 19:25:55 -0700 Subject: [PATCH] Avoid deprecated arguments in help text (#1025) --- .../help-entryPointArgumentsString.jelly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/io/jenkins/docker/connector/DockerComputerJNLPConnector/help-entryPointArgumentsString.jelly b/src/main/resources/io/jenkins/docker/connector/DockerComputerJNLPConnector/help-entryPointArgumentsString.jelly index 2fbda83a5..75de459b8 100644 --- a/src/main/resources/io/jenkins/docker/connector/DockerComputerJNLPConnector/help-entryPointArgumentsString.jelly +++ b/src/main/resources/io/jenkins/docker/connector/DockerComputerJNLPConnector/help-entryPointArgumentsString.jelly @@ -34,7 +34,7 @@
sh
-c
- wget $${JENKINS_URL}jnlpJars/agent.jar && java -jar agent.jar -jnlpUrl $${JENKINS_URL}computer/$${NODE_NAME}/slave-agent.jnlp -secret $${JNLP_SECRET}
+ wget $${JENKINS_URL}jnlpJars/agent.jar && java -jar agent.jar -url $${JENKINS_URL} -secret $${JNLP_SECRET} -name $${NODE_NAME}