Skip to content

Commit fe98df6

Browse files
Bot Updating Templated Files
1 parent d8f4a72 commit fe98df6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Jenkinsfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ pipeline {
7070
fi
7171
done
7272
fi
73-
docker system prune -f --volumes || : '''
73+
docker system prune -f --volumes || :
74+
docker image prune -af || :
75+
'''
7476
script{
7577
env.EXIT_STATUS = ''
7678
env.LS_RELEASE = sh(
@@ -686,7 +688,8 @@ pipeline {
686688
if [[ -n "${containers}" ]]; then
687689
docker stop ${containers}
688690
fi
689-
docker system prune -af --volumes || :
691+
docker system prune -f --volumes || :
692+
docker image prune -af || :
690693
'''
691694
}
692695
}
@@ -1112,6 +1115,7 @@ EOF
11121115
done
11131116
fi
11141117
docker system prune -f --volumes || :
1118+
docker image prune -af || :
11151119
'''
11161120
cleanWs()
11171121
}

0 commit comments

Comments
 (0)