From 8136cf5c72edeb3a72a0f2d6073e7ce8155272ad Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Fri, 23 Jan 2026 14:21:06 -0500 Subject: [PATCH] Testing a pattern to support all text variations [ROCm/composable_kernel commit: 6c596b95535fffcacc2d4fadb8199ab5d00d7853] --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1c50698d3c..5ae56929dd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,8 +39,10 @@ def testLog() { 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" """ error("Forcing failure to test notifications") } @@ -50,10 +52,10 @@ def sendFailureNotifications() { // Error patterns to scan build logs for specific failure types and send detailed notifications. def failurePatterns = [ [pattern: /login attempt to .* failed with status: 401 Unauthorized/, description: "Docker registry authentication failed"], - [pattern: /.docker login failed./, description: "Docker login failed"], + [pattern: /(.*)docker login failed(.*)/, description: "Docker login failed"], [pattern: /HTTP request sent .* 404 Not Found/, description: "HTTP request failed with 404"], [pattern: /cat: .* No such file or directory/, description: "GPU not found"], - [pattern: /.GPU not found./, description: "GPU not found"], + [pattern: /(.*)GPU not found(.*)/, description: "GPU not found"], [pattern: /Could not connect to Redis at .* Connection timed out/, description: "Redis connection timed out"] ]