1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00
Files
docs/Jenkinsfile
Adrien Duermael 80381c95ec changes in Jenkinsfile
Signed-off-by: Adrien Duermael <adrien@duermael.com>
2016-12-27 10:44:36 -08:00

12 lines
369 B
Groovy

wrappedNode(label: 'linux && x86_64') {
deleteDir()
stage "checkout"
checkout scm
stage "test"
sh "docker build -t docs `pwd`"
sh "docker build -t tests `pwd`/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"
}