Skip to content

Instantly share code, notes, and snippets.

@eh-am
Last active January 25, 2018 18:01
Show Gist options
  • Select an option

  • Save eh-am/4b575d63b89d4dc0bc0e45df2ff28a28 to your computer and use it in GitHub Desktop.

Select an option

Save eh-am/4b575d63b89d4dc0bc0e45df2ff28a28 to your computer and use it in GitHub Desktop.
Delete all docker images from our repository
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