Update 'Jenkinsfile'
This commit is contained in:
parent
6864a2eaf9
commit
1d2bbd1f99
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -6,7 +6,7 @@ node {
|
|||||||
remote.identityFile = '/var/jenkins_home/.ssh/id_rsa'
|
remote.identityFile = '/var/jenkins_home/.ssh/id_rsa'
|
||||||
remote.allowAnyHosts = true
|
remote.allowAnyHosts = true
|
||||||
remote.agent = false
|
remote.agent = false
|
||||||
remote.logLevel = 'FINEST'
|
remote.logLevel = 'INFO'
|
||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user