ONNX CI: add docker image cleanup (#1394)

* change stage name
 * add docker image cleanup
This commit is contained in:
Rafal Blaczkowski 2020-07-20 12:42:52 +02:00 committed by GitHub
parent d4c9af91d8
commit 06119efdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ pipeline {
gitSubmoduleUpdate(PROJECT_NAME)
}
}
stage("Build docker image with tests") {
stage("Run tests") {
steps{
dir("${WORKDIR}") {
buildDockerImage()
@ -102,6 +102,9 @@ pipeline {
cleanup {
dir("${WORKDIR}") {
deleteDir()
sh """
docker image prune -f
"""
}
}
}