Files
docker-docs/Jenkinsfile
Adrien Duermael 99ab7387e0 Missing title in engine/tutorials/index.md - add framework for CI checking (#763)
* 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>
2016-12-05 15:22:59 -08:00

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"
}