Fixing Jenkinsfile too large error

[ROCm/composable_kernel commit: 786965b95e]
This commit is contained in:
Andrew Clark
2026-01-23 12:47:27 -05:00
committed by andrew clark
parent e2f587ad01
commit 18e95f26aa

20
Jenkinsfile vendored
View File

@@ -34,6 +34,18 @@ def checkForPattern(pattern, log) {
return [found: false, matchedLine: "", context: ""]
}
def testLog() {
// Todo: Remove test examples
sh """
echo "GPU not found"
echo "Testing GPU not found"
echo "GPU not found Testing"
echo "docker login failed"
echo "Testing docker login failed"
echo "docker login failed Testing"
"""
}
// 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.
@@ -1290,13 +1302,7 @@ pipeline {
script {
env.SHOULD_RUN_CI = String.valueOf(params.FORCE_CI.toBoolean() || shouldRunCICheck())
echo "SHOULD_RUN_CI: ${env.SHOULD_RUN_CI}"
// Todo: Remove test examples
echo "GPU not found"
echo "Testing GPU not found"
echo "GPU not found Testing"
echo "docker login failed"
echo "Testing docker login failed"
echo "docker login failed Testing"
testLog()
}
}
}