ONNX CI: add docker image cleanup (#1394)
* change stage name * add docker image cleanup
This commit is contained in:
parent
d4c9af91d8
commit
06119efdf2
5
.ci/openvino-onnx/Jenkinsfile
vendored
5
.ci/openvino-onnx/Jenkinsfile
vendored
@ -84,7 +84,7 @@ pipeline {
|
|||||||
gitSubmoduleUpdate(PROJECT_NAME)
|
gitSubmoduleUpdate(PROJECT_NAME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Build docker image with tests") {
|
stage("Run tests") {
|
||||||
steps{
|
steps{
|
||||||
dir("${WORKDIR}") {
|
dir("${WORKDIR}") {
|
||||||
buildDockerImage()
|
buildDockerImage()
|
||||||
@ -102,6 +102,9 @@ pipeline {
|
|||||||
cleanup {
|
cleanup {
|
||||||
dir("${WORKDIR}") {
|
dir("${WORKDIR}") {
|
||||||
deleteDir()
|
deleteDir()
|
||||||
|
sh """
|
||||||
|
docker image prune -f
|
||||||
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user