Scan for vulnerabilities on build

This commit is contained in:
2025-06-04 21:46:00 +01:00
parent 3fe4659377
commit 9f34c2d544

8
Jenkinsfile vendored
View File

@@ -37,6 +37,14 @@ pipeline {
}
}
stage('Security scan') {
steps {
sh "docker run --name sectest registry.jakecharman.co.uk/jakecharman.co.uk:$BUILD_NUMNER"
sh "docker exec sectest pip3 install pip-audit"
sh "docker exec sectest pip-audit"
}
}
stage('Push to registry') {
when {
expression {