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