From e1fbf17d34d2b22157ed82f77c9b7aca1a755102 Mon Sep 17 00:00:00 2001 From: marius Date: Tue, 21 Apr 2020 15:15:38 +0200 Subject: [PATCH] Test step --- Jenkinsfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7ebeeb1..97e1261 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 + + + + } + } \ No newline at end of file