Test step

This commit is contained in:
marius 2020-04-21 15:15:38 +02:00
parent 5b7d7a5624
commit e1fbf17d34

15
Jenkinsfile vendored
View File

@ -15,4 +15,19 @@ node {
app = docker.build("wishi/chuckjokes")
}
stage('Test image') {
/* Ideally, we would run a test framework against our image.
* For this example, we're using a Volkswagen-type approach ;-) */
app.inside {
sh 'echo "Tests passed"'
sh 'pwd'
}
// let's not use the Volkswagen approach for security
}
}