mirror of https://github.com/docker/docs.git
changes in Jenkinsfile
Signed-off-by: Adrien Duermael <adrien@duermael.com>
This commit is contained in:
parent
f9dad1a6ec
commit
80381c95ec
|
@ -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"
|
||||
}
|
Loading…
Reference in New Issue