From e54beb15db4220d3445e7293faffefaf8b3a8345 Mon Sep 17 00:00:00 2001 From: dany Date: Mon, 1 Aug 2022 11:45:19 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Jenkinsfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 006e9db..bc4a799 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,7 +41,9 @@ pipeline{ stage('Remote SSH') { steps { sshCommand remote: remote, command: ''' - bash test.sh; + export WORKSPACE="~/jenkins/workspace/ant-http" + cd $WORKSPACE + bash test.sh ''' sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done" }