Created
June 5, 2018 09:56
-
-
Save sirrapa/f1df0cea0870dd70a877eb058de13aea to your computer and use it in GitHub Desktop.
Delete all lastxxxx links for all jenkins jobs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this in the jenkins_home/jobs directory | |
for file in */ ; do echo "Processing $file...." && cd "${file}" && rm -Rf last* && rm -Rf builds/last* && cd ..; done^C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment