readded owasp dep checker to Maven

master
marius 2020-04-21 15:41:13 +02:00
parent e1fbf17d34
commit 02c48b2a2c
2 changed files with 18 additions and 11 deletions

17
Jenkinsfile vendored
View File

@ -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
}
}
}

12
pom.xml
View File

@ -113,6 +113,18 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>5.3.2</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>