From da8146ca2c4bc6cdbaf5dc91682a4134fe508823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serhat=20G=C3=BCl=C3=A7i=C3=A7ek?= Date: Tue, 30 Jun 2026 07:45:45 +0200 Subject: [PATCH] [cicdPipelineFlakyJob] Add more strings that should trigger flakiness Being rather specific with the first one. The seconds one comes in all forms when there is a network hiccup. In that sense it's broader, but if there is really a network issue it will stop after 3 tries anyway. --- jenkins-library/vars/cicdPipelineFlakyJob.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jenkins-library/vars/cicdPipelineFlakyJob.groovy b/jenkins-library/vars/cicdPipelineFlakyJob.groovy index 083596e..efd5e00 100644 --- a/jenkins-library/vars/cicdPipelineFlakyJob.groovy +++ b/jenkins-library/vars/cicdPipelineFlakyJob.groovy @@ -3,6 +3,8 @@ def call(def build) { def hiccups = [ 'Unable to locate credentials. You can configure credentials by running "aws configure"', 'ERROR: mkdir /var/lib/docker/buildkit/', + 'ERROR: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock', + ': dial tcp ' ] // Get last 150 log lines def logLines = build.rawBuild.getLog(150).join('\n')