Mise à jour de 'Jenkinsfile'

This commit is contained in:
dany 2022-08-01 11:45:19 +02:00
parent 19e0e15913
commit e54beb15db

4
Jenkinsfile vendored
View File

@ -41,7 +41,9 @@ pipeline{
stage('Remote SSH') { stage('Remote SSH') {
steps { steps {
sshCommand remote: remote, command: ''' 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" sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done"
} }