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

Commit

Permalink
Add docker prune system call before build starts (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephca committed Aug 29, 2019
1 parent 4141461 commit 06da879
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ pipeline {

// NOTE: change of this sh call should be in sync with './script/build.sh'.
sh '''#!/usr/bin/env bash
# Docker system prune
echo "Docker system prune ..."
docker system df
docker system prune -a -f
docker builder prune -a -f
docker system df
df -lh
echo "Starting build for Eclipse Codewind ..."
DIR=`pwd`;
Expand Down

0 comments on commit 06da879

Please sign in to comment.