Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup/pvc/bin/ fails if backup dir is empty, causing crashloop #85

felipejfc opened this issue Aug 30, 2019 · 1 comment


Copy link

commented Aug 30, 2019

When creating a brand new jenkins, if you set a backup sidecar container, it will crash the pod repeatedly...
maybe related to
ls ${BACKUP_DIR} | sort -gr | grep 'tar.gz' | tail -n +$((BACKUP_COUNT +1)) | xargs -I '{}' rm ${BACKUP_DIR}/'{}'
returning non 0? (haven't actually checked it, it's just a guess)

@felipejfc felipejfc changed the title backup/pvc/bin/ fails if backup dir is empty backup/pvc/bin/ fails if backup dir is empty, causing crashloop Aug 30, 2019


This comment has been minimized.

Copy link

commented Sep 1, 2019

Hi @felipejfc,

It was fixed by PR #82. Please use virtuslab/jenkins-operator-backup-pvc:v0.0.6 Docker image.


@tomaszsek tomaszsek closed this Sep 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.