try again..
This commit is contained in:
parent
4413ddfbb4
commit
1073f4a108
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue