Prevent security test from failing build

This commit is contained in:
2025-10-10 17:10:46 +01:00
parent bd735cb1e5
commit d64e7f4fa5

6
Jenkinsfile vendored
View File

@@ -38,7 +38,6 @@ pipeline {
}
}
try{
stage('Security scan') {
when {
expression {
@@ -46,6 +45,7 @@ pipeline {
}
}
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "docker kill sectest || true"
sh "docker rm sectest || true"
sh "docker run -d --name sectest git.jakecharman.co.uk/jake/jakecharman.co.uk:$BUILD_NUMBER"
@@ -56,10 +56,6 @@ pipeline {
}
}
}
catch(e) {
build_ok = false
echo e.toString()
}
stage('Push to local registry') {
when {