File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,6 @@ pipeline {
242
242
}
243
243
post {
244
244
always {
245
- sh ' docker-compose down --rmi all --remove-orphans --volumes -t 30 || true'
246
245
sh ' ./scripts/ci/build-cleanup'
247
246
echo ' Reverting ownership'
248
247
sh ' docker run --rm -v $(pwd):/data jc21/gotools:latest chown -R "$(id -u):$(id -g)" /data'
Original file line number Diff line number Diff line change 3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
4
. " $DIR /../.common.sh"
5
5
6
- # Ensure docker-compose exists
6
+ # Ensure docker exists
7
7
if hash docker 2> /dev/null; then
8
8
cd " ${DIR} /../.."
9
9
echo -e " ${BLUE} ❯ ${CYAN} Build Cleanup ...${RESET} "
10
10
11
11
docker run --rm -e CI=true -v " $( pwd) :/app" -w /app jc21/gotools:latest rm -rf \
12
12
/app/frontend/node_modules \
13
13
/app/docs/node_modules \
14
- /app/docs/.vuepress/ dist
14
+ /app/docs/dist
15
15
16
16
echo -e " ${BLUE} ❯ ${GREEN} Build Cleanup Complete${RESET} "
17
17
else
You can’t perform that action at this time.
0 commit comments