Last active
January 25, 2018 18:01
-
-
Save eh-am/4b575d63b89d4dc0bc0e45df2ff28a28 to your computer and use it in GitHub Desktop.
Delete all docker images from our repository
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
| docker rmi -f $(docker images --filter=reference='*/tcinc-dev/*:*' -q) | |
| # Delete all .jar inside jenkins dir | |
| cd /var/lib/jenkins/jobs | |
| find . -name "*.jar" -type f -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment