diff --git a/jenkins/default_backup.yml b/jenkins/default_backup.yml index 25e4120..091e711 100644 --- a/jenkins/default_backup.yml +++ b/jenkins/default_backup.yml @@ -1,8 +1,8 @@ pipeline { agent any -// parameters { -// booleanParam(name: 'backuplocally', defaultValue: false, description: 'If true local BORG backup will be created') -// booleanParam(name: 'backuptostackstorage', defaultValue: false, description: 'If true backup data to TransIP Stack') + parameters { + booleanParam(name: 'backuplocally', defaultValue: params.backuplocally ?: false, description: 'If true local BORG backup will be created') + booleanParam(name: 'backuptostackstorage', defaultValue: false, description: 'If true backup data to TransIP Stack') // booleanParam(name: 'backuptodavid', defaultValue: false, description: 'If true rsync the BORG repository to David') // booleanParam(name: 'backuptopi', defaultValue: false, description: 'If true rsync the BORG repository to our ExternalPI') // string(name: 'directory', defaultValue: ' ', description: 'The directory that should be handled')