From 9e7b7fe59abf0b746a32a59af97d50e2914c30c7 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Fri, 23 Jan 2026 12:47:27 -0500 Subject: [PATCH] Fixing Jenkinsfile too large error [ROCm/composable_kernel commit: 786965b95ed049e7ba2f0e6f00875a2634db90f9] --- Jenkinsfile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 712602e532..cd7678df1a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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() } } }