Mise à jour de 'Jenkinsfile'
This commit is contained in:
parent
19e0e15913
commit
e54beb15db
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user