diff --git a/Jenkinsfile b/Jenkinsfile index 97e1261..793e7cd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,19 +15,14 @@ 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 ;-) */ + 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 { + app.inside { sh 'echo "Tests passed"' - sh 'pwd' - } - - // let's not use the Volkswagen approach for security - - - } + } + } \ No newline at end of file diff --git a/pom.xml b/pom.xml index dc808e4..253df33 100644 --- a/pom.xml +++ b/pom.xml @@ -113,6 +113,18 @@ + + org.owasp + dependency-check-maven + 5.3.2 + + + + check + + + +