Test step
This commit is contained in:
parent
5b7d7a5624
commit
e1fbf17d34
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -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
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user