fixed the parameters to not overwrite jenkins settings

This commit is contained in:
2026-01-12 20:57:32 +01:00
parent 19a3e14482
commit e756465455

View File

@@ -2,11 +2,11 @@ pipeline {
agent any agent any
parameters { parameters {
booleanParam(name: 'backuplocally', defaultValue: params.backuplocally ?: false, description: 'If true local BORG backup will be created') 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: 'backuptostackstorage', defaultValue: params.backuptostackstorage ?: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: 'backuptodavid', defaultValue: params.backuptodavid ?: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: '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') 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 { stages {
stage('Run Information') { stage('Run Information') {