Skip to content

Commit 6d2cf77

Browse files
committed
Fix for CI cleanup
1 parent ac0074e commit 6d2cf77

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Jenkinsfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ pipeline {
242242
}
243243
post {
244244
always {
245-
sh 'docker-compose down --rmi all --remove-orphans --volumes -t 30 || true'
246245
sh './scripts/ci/build-cleanup'
247246
echo 'Reverting ownership'
248247
sh 'docker run --rm -v $(pwd):/data jc21/gotools:latest chown -R "$(id -u):$(id -g)" /data'

scripts/ci/build-cleanup

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
44
. "$DIR/../.common.sh"
55

6-
# Ensure docker-compose exists
6+
# Ensure docker exists
77
if hash docker 2>/dev/null; then
88
cd "${DIR}/../.."
99
echo -e "${BLUE}❯ ${CYAN}Build Cleanup ...${RESET}"
1010

1111
docker run --rm -e CI=true -v "$(pwd):/app" -w /app jc21/gotools:latest rm -rf \
1212
/app/frontend/node_modules \
1313
/app/docs/node_modules \
14-
/app/docs/.vuepress/dist
14+
/app/docs/dist
1515

1616
echo -e "${BLUE}❯ ${GREEN}Build Cleanup Complete${RESET}"
1717
else

0 commit comments

Comments
 (0)