From 80381c95ecc75711affc4b6db79cd7dc53e8be0b Mon Sep 17 00:00:00 2001 From: Adrien Duermael Date: Mon, 12 Dec 2016 10:58:51 -0800 Subject: [PATCH] changes in Jenkinsfile Signed-off-by: Adrien Duermael --- Jenkinsfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 32cd43c7a6..eed400f6cf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,10 @@ wrappedNode(label: 'linux && x86_64') { stage "checkout" checkout scm stage "test" + sh "docker build -t docs `pwd`" sh "docker build -t tests `pwd`/tests" - sh "docker run --rm -v `pwd`:/docs tests" - sh "docker rmi tests" + sh "docker run -v /usr/src/app/allvbuild --name docs docs /bin/true" + sh "docker run --rm --volumes-from docs -v `pwd`:/docs tests" + sh "docker rm -fv docs" + sh "docker rmi docs tests" } \ No newline at end of file