Update 'Jenkinsfile'
This commit is contained in:
parent
38864cd8ff
commit
03618cff28
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user