Finished testing failure types. Removed testing code.

This commit is contained in:
Andrew Clark
2026-01-23 14:29:13 -05:00
committed by andrew clark
parent 402f21d0a6
commit 8654c0628f

10
Jenkinsfile vendored
View File

@@ -34,15 +34,6 @@ def checkForPattern(pattern, log) {
return [found: false, matchedLine: "", context: ""]
}
def testLog() {
// Todo: Remove test examples
sh """
echo "GPU not found Testing"
echo "docker login failed Testing"
"""
error("Forcing failure to test notifications")
}
// Scan the build logs for failures and send notifications.
def sendFailureNotifications() {
// Error patterns to scan build logs for specific failure types and send detailed notifications.
@@ -1299,7 +1290,6 @@ pipeline {
script {
env.SHOULD_RUN_CI = String.valueOf(params.FORCE_CI.toBoolean() || shouldRunCICheck())
echo "SHOULD_RUN_CI: ${env.SHOULD_RUN_CI}"
testLog()
}
}
}