draperlaboratory / hope-policies

Collection of security policies
3 stars 2 forks source link

Jenkins passes extreme failure case incorrectly #104

Open amstrnad opened 4 years ago

amstrnad commented 4 years ago

If the build-dirs target fails, but making kernels succeeds, Jenkins incorrectly passes the build.

build-dirs does not generate test results for Jenkins, so Jenkins only sees the successful kernel builds.

This is at least partially due to forcing the line in the Jenkinsfile that lets the build keep going even if an earlier set of tests fails.

catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')