trying something new

This commit is contained in:
matthias
2026-05-08 13:23:19 +02:00
parent 00a769135d
commit 4680942268
3 changed files with 32 additions and 47 deletions
+14
View File
@@ -0,0 +1,14 @@
pipeline {
parameters {
agent any
stages {
stage ('Run Backup to David') {
steps {
script {
sh "cp ${keyfile} ${WORKSPACE}/keyfile"
sh "rsync -v -a -e 'ssh -i /home/backupwinschoten/.ssh/id_rsa -p 9897' --delete --info=progress2 ${env.borglocation} backupwinschoten@localhost:/storage/"
}
}
}
}
}