Update 'Jenkinsfile'

This commit is contained in:
dany 2022-07-29 14:30:35 +02:00
parent 38864cd8ff
commit 03618cff28

1
Jenkinsfile vendored
View File

@ -6,6 +6,7 @@ node {
remote.allowAnyHosts = true remote.allowAnyHosts = true
remote.agent = false remote.agent = false
remote.identifyFile = '/var/jenkins_home/.ssh/id_rsa' remote.identifyFile = '/var/jenkins_home/.ssh/id_rsa'
remote.logLevel = 'FINEST'
stage('Remote SSH') { stage('Remote SSH') {
sshCommand remote: remote, command: "ls -al" sshCommand remote: remote, command: "ls -al"
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"