try again..

This commit is contained in:
Kameron Kenny - pi501 2024-12-27 16:50:16 -05:00
parent 4413ddfbb4
commit 1073f4a108
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -40,25 +40,25 @@ pipeline {
remote.pi504.allowAnyHosts = true remote.pi504.allowAnyHosts = true
sshagent(credentials: ['jenkins']) { sshagent(credentials: ['jenkins']) {
sshPut remote: remote.pi501, from: 'nrpe', into: '/tmp', override: true sshPut remote: remote.pi501, from: 'nrpe', into: '/tmp'
sshCommand remote: remote.pi501, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh' sshCommand remote: remote.pi501, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh'
sshRemove remote: pi501, path: '/tmp/nrpe' sshRemove remote: pi501, path: '/tmp/nrpe'
} }
sshagent(credentials: ['jenkins']) { sshagent(credentials: ['jenkins']) {
sshPut remote: remote.pi502, from: 'nrpe', into: '/tmp', override: true sshPut remote: remote.pi502, from: 'nrpe', into: '/tmp'
sshCommand remote: remote.pi502, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh' sshCommand remote: remote.pi502, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh'
sshRemove remote: pi502, path: '/tmp/nrpe' sshRemove remote: pi502, path: '/tmp/nrpe'
} }
sshagent(credentials: ['jenkins']) { sshagent(credentials: ['jenkins']) {
sshPut remote: remote.pi503, from: 'nrpe', into: '/tmp', override: true sshPut remote: remote.pi503, from: 'nrpe', into: '/tmp'
sshCommand remote: remote.pi503, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh' sshCommand remote: remote.pi503, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh'
sshRemove remote: pi503, path: '/tmp/nrpe' sshRemove remote: pi503, path: '/tmp/nrpe'
} }
sshagent(credentials: ['jenkins']) { sshagent(credentials: ['jenkins']) {
sshPut remote: remote.pi504, from: 'nrpe', into: '/tmp', override: true sshPut remote: remote.pi504, from: 'nrpe', into: '/tmp'
sshCommand remote: remote.pi504, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh' sshCommand remote: remote.pi504, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh'
sshRemove remote: pi504, path: '/tmp/nrpe' sshRemove remote: pi504, path: '/tmp/nrpe'
} }