From 02c48b2a2c06270757fc3d0a346f6412ce68772e Mon Sep 17 00:00:00 2001 From: marius Date: Tue, 21 Apr 2020 15:41:13 +0200 Subject: [PATCH] readded owasp dep checker to Maven --- Jenkinsfile | 17 ++++++----------- pom.xml | 12 ++++++++++++ 2 files changed, 18 insertions(+), 11 deletions(-) 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 + + + +