From e7564654553e6aa895ccecb0488de0ae23d43f9e Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 12 Jan 2026 20:57:32 +0100 Subject: [PATCH] fixed the parameters to not overwrite jenkins settings --- jenkins/default_backup.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jenkins/default_backup.yml b/jenkins/default_backup.yml index 5f6c6c7..8febe75 100644 --- a/jenkins/default_backup.yml +++ b/jenkins/default_backup.yml @@ -2,11 +2,11 @@ pipeline { agent any 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') + booleanParam(name: 'backuptostackstorage', defaultValue: params.backuptostackstorage ?:false, description: 'If true backup data to TransIP Stack') + booleanParam(name: 'backuptodavid', defaultValue: params.backuptodavid ?:false, description: 'If true rsync the BORG repository to David') + booleanParam(name: 'backuptopi', defaultValue: params.backuptopi ?:alse, description: 'If true rsync the BORG repository to our ExternalPI') string(name: 'directory', defaultValue: params.directory ?: ' ', description: 'The directory that should be handled') - text(name: 'excludelist', defaultValue: '**/cache/** ', description: 'Multiline string to exclude patterns from backup') + text(name: 'excludelist', defaultValue: params.excludelist ?: '**/cache/** ', description: 'Multiline string to exclude patterns from backup') } stages { stage('Run Information') {