Fixed exclusion syntax
This commit is contained in:
@@ -54,7 +54,7 @@ pipeline {
|
||||
if (params.backuptostackstorage) {
|
||||
sh "mkdir -p /config/rclone"
|
||||
sh "cp ${WORKSPACE}/config/rclone.conf /config/rclone/"
|
||||
sh "rclone copy -v --exclude-from excludelist /data/ stackstorage:/julien/storage/${directory}"
|
||||
sh "rclone copy -v /data/ stackstorage:/julien/storage/${directory} --exclude-from excludelist"
|
||||
} else {
|
||||
echo "Backup to TransIP Stack is skipped"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user