Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 06da879

Browse files
authored
Add docker prune system call before build starts (#338)
1 parent 4141461 commit 06da879

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Jenkinsfile

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ pipeline {
2020

2121
// NOTE: change of this sh call should be in sync with './script/build.sh'.
2222
sh '''#!/usr/bin/env bash
23+
# Docker system prune
24+
echo "Docker system prune ..."
25+
docker system df
26+
docker system prune -a -f
27+
docker builder prune -a -f
28+
docker system df
29+
df -lh
30+
2331
echo "Starting build for Eclipse Codewind ..."
2432
2533
DIR=`pwd`;

0 commit comments

Comments
 (0)