Skip to content

Commit 4312bcf

Browse files
Merge pull request #288 from vitalykorolev/MLE-15754_improve-cleanup
MLE-15754 improve cleanup
2 parents 7704158 + 74da5b5 commit 4312bcf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Jenkinsfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void preBuildCheck() {
4545
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /space/go/bin v1.50.0
4646
wget https://github.com/gotestyourself/gotestsum/releases/download/v1.12.0/gotestsum_1.12.0_linux_amd64.tar.gz -O gotestsum.tar.gz
4747
mkdir -p /space/go/bin/
48-
tar -xf gotestsum.tar.gz -C /space/go/bin/
48+
tar -xf gotestsum.tar.gz -C /space/go/bin/ gotestsum
4949
'''
5050
}
5151

@@ -252,10 +252,10 @@ pipeline {
252252
sh '''
253253
sudo sysctl -w vm.nr_hugepages=0
254254
minikube delete --all --purge
255-
docker rm -f $(docker ps -a -q) || true
256-
docker system prune --force --filter "until=720h"
257-
docker volume prune --force
258-
docker image prune --force --all
255+
docker stop $(docker ps -a -q) || true
256+
docker system prune --force --all
257+
docker volume prune --force --all
258+
docker system df
259259
sudo rm -rf /space/.minikube /space/go /space/.kube-config
260260
'''
261261
sh "rm -rf $WORKSPACE/test/test_results/"

0 commit comments

Comments
 (0)