Skip to content

Commit

Permalink
secure script
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarnotel authored Apr 6, 2022
1 parent 86677ea commit 31b801d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .jenkins/clean.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

sudo docker container stop "$(sudo docker container ls -aq)"
sudo docker container rm "$(sudo docker container ls -aq)"
sudo docker rmi "$(sudo docker images -q)"
sudo docker container stop "$(sudo docker container ls -aq)" | true
sudo docker container rm "$(sudo docker container ls -aq)" | true
sudo docker rmi "$(sudo docker images -q)" | true

0 comments on commit 31b801d

Please sign in to comment.