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

fix jenkins backup if some directories don't exist #27

Merged
merged 5 commits into from
Jul 22, 2015
Merged

fix jenkins backup if some directories don't exist #27

merged 5 commits into from
Jul 22, 2015

Conversation

doj
Copy link

@doj doj commented Jul 21, 2015

the main bug fix here is commit 1c0508e which checks if directories exist before attempting to copy their contents into the archive directory.
commit fb1f419 cleans up some of the temporary files and directories, to not leave so much stuff around after the backup script exists.
commit c1ed1ab makes the TMP_TAR_NAME variable contain an absolute pathname which simplifies it's use.
and finally commit c65ef6f suggests to use the -delete argument for the find command, instead of the "xargs rm" anachronism.

@sue445
Copy link
Owner

sue445 commented Jul 22, 2015

thank you for PR and great explain!
LGTM!!!

sue445 added a commit that referenced this pull request Jul 22, 2015
fix jenkins backup if some directories don't exist
@sue445 sue445 merged commit 041d269 into sue445:master Jul 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants