readded owasp dep checker to Maven
This commit is contained in:
parent
e1fbf17d34
commit
02c48b2a2c
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -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
12
pom.xml
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user