From 109e35100dc2e05d573c63e340604e747b20cb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Fri, 6 Feb 2026 14:45:01 +0100 Subject: [PATCH] chore(pipeline): use nonspot agents on retry with Linux too (#26267) * chore(pipeline): use nonspot agents with Linux too * test: use nonspot label on first try * Revert "test: use nonspot label on first try" This reverts commit 58cb1f07adb0c66847aac90b8113611ade13ab1c. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c8716c29c..5f05615b4b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -71,7 +71,7 @@ axes.values().combinations { } int retryCount = 0 retry(conditions: [kubernetesAgent(handleNonKubernetes: true), nonresumable()], count: 2) { - if (retryCount == 1 && platform == 'windows' ) { + if (retryCount == 1) { agentContainerLabel = agentContainerLabel + '-nonspot' } // Increment before allocating the node in case it fails