All checks were successful
ci-tests/multiAgent-scripted/pipeline/head This commit looks good
25 lines
601 B
Groovy
25 lines
601 B
Groovy
node {
|
|
/* Requires the Docker Pipeline plugin to be installed */
|
|
|
|
stage('Back-end') {
|
|
docker.image('maven:3-amazoncorretto-23-alpine').inside {
|
|
sh 'mvn --version'
|
|
}
|
|
}
|
|
|
|
stage('Front-end') {
|
|
docker.image('node:16-alpine').inside {
|
|
sh 'npm --version'
|
|
sh 'npx --version'
|
|
sh 'node --version'
|
|
}
|
|
}
|
|
stage('vulnerability scanner') {
|
|
sh """
|
|
docker run --rm anchore/grype:v0.80.2 debian:buster-20190326 | \
|
|
grep -iE 'high|medium' | \
|
|
sort -rk 7
|
|
"""
|
|
}
|
|
}
|