alternative fix

This commit is contained in:
Tavin Cole 2025-12-15 18:24:31 +00:00
parent b87c238a32
commit c19051a3bf
1 changed files with 2 additions and 1 deletions

View File

@ -44,8 +44,9 @@ trap '_trap' SIGQUIT SIGINT SIGTERM
ret=0
tar --zstd -C "${JENKINS_HOME}" -cf "${BACKUP_TMP_DIR}/${BACKUP_NUMBER}.tar.zstd" \
--exclude 'jobs/*/workspace*' \
--no-wildcards-match-slash \
--no-wildcards-match-slash --anchored \
--ignore-failed-read \
--exclude-ignore=.jenkinsbackupignore \
--exclude 'jobs/*/config.xml' -c jobs || ret=$?
if [[ "$ret" -eq 0 ]]; then