From 06119efdf29b5955aaa33f676f841b8d5514b591 Mon Sep 17 00:00:00 2001 From: Rafal Blaczkowski Date: Mon, 20 Jul 2020 12:42:52 +0200 Subject: [PATCH] ONNX CI: add docker image cleanup (#1394) * change stage name * add docker image cleanup --- .ci/openvino-onnx/Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.ci/openvino-onnx/Jenkinsfile b/.ci/openvino-onnx/Jenkinsfile index aef29e5feb3..1a900a3074d 100644 --- a/.ci/openvino-onnx/Jenkinsfile +++ b/.ci/openvino-onnx/Jenkinsfile @@ -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 + """ } } }