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