tweaky
This commit is contained in:
@@ -69,6 +69,7 @@ pipeline {
|
||||
stage('Rsync TEST') {
|
||||
failFast false
|
||||
parallel {
|
||||
stage ('Run Backup to David') {
|
||||
steps {
|
||||
script {
|
||||
if (params.backuptodavid) {
|
||||
@@ -77,6 +78,10 @@ pipeline {
|
||||
echo "Backup to David is skipped"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage ('Run Backup to Winschoten') {
|
||||
steps {
|
||||
script {
|
||||
if (params.backuptowinschoten) {
|
||||
withCredentials([sshUserPrivateKey(credentialsId: 'backupwinschoten', keyFileVariable: 'keyfile', passphraseVariable: 'passphrase', usernameVariable: 'user')]) {
|
||||
@@ -90,6 +95,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// stage('Run Rsync to David') {
|
||||
|
||||
Reference in New Issue
Block a user