Update 'Jenkinsfile'

This commit is contained in:
dany 2022-07-29 14:19:23 +02:00
parent f0393641e4
commit 999de0ab22

2
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ node {
remote.host = 'workstation'
remote.user = 'dany'
remote.allowAnyHosts = true
remote.identifyFile = '/var/jenkins_home/.ssh/id_ed25519'
remote.identifyFile = '/var/jenkins_home/.ssh/id_rsa'
stage('Remote SSH') {
sshCommand remote: remote, command: "ls -al"
sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done"