diff --git a/jenkins/default_backup.yml b/jenkins/default_backup.yml index 80a9d0e..a2083bc 100644 --- a/jenkins/default_backup.yml +++ b/jenkins/default_backup.yml @@ -6,7 +6,7 @@ pipeline { 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') - text(name: 'excludelist', defaultValue: '**/cache/** ', description: 'Multiline string to exclude patterns from backup') + text(name: 'excludelist', defaultValue: '**/cache/** ', description: 'Multiline string to exclude patterns from backup') } stages { stage('Run Information') { @@ -17,7 +17,6 @@ pipeline { echo "Backup to David is ${params.backuptodavid}" echo "Backup to External PI is ${params.backuptopi}" echo "Excludelist: ${params.excludelist}" - // Create a file with the exclude list within sh "echo '${params.excludelist}' >> excludelist" } }