Skip to content

Commit

Permalink
Trying to avoid failure when cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
prj- committed Oct 15, 2019
1 parent 616b333 commit a3d1877
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .jenkins/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash

sudo docker container stop $(sudo docker container ls -aq)
sudo docker container rm $(sudo docker container ls -aq)
sudo docker rm $(sudo docker ps -a -q)
sudo docker rmi $(sudo docker images -q)
sudo docker rmi $(sudo docker images -q)

0 comments on commit a3d1877

Please sign in to comment.