mirror of
https://github.com/docker/docs.git
synced 2026-04-01 08:48:56 +07:00
* added title in engine/tutorials/index.md Signed-off-by: Adrien Duermael <adrien@duermael.com> * added pre_build script for Docker Cloud CI It includes one first test that should run when PRs are submitted. For now it only checks if there’s always a title in fronmatters. We should add more tests as we fix issues. Signed-off-by: Adrien Duermael <adrien@duermael.com> * Jenkinsfile + pre_build script update Signed-off-by: Adrien Duermael <adrien@duermael.com> * fix in Jenkinsfile Signed-off-by: Adrien Duermael <adrien@duermael.com> * chmod +x hooks/pre_build Signed-off-by: Adrien Duermael <adrien@duermael.com> * removed hooks folder since we’re not using Docker Cloud CI Signed-off-by: Adrien Duermael <adrien@duermael.com>
9 lines
213 B
Groovy
9 lines
213 B
Groovy
wrappedNode(label: 'linux && x86_64') {
|
|
deleteDir()
|
|
stage "checkout"
|
|
checkout scm
|
|
stage "test"
|
|
sh "docker build -t tests `pwd`/tests"
|
|
sh "docker run --rm -v `pwd`:/docs tests"
|
|
sh "docker rmi tests"
|
|
} |