Skip to content

Commit f0d68c0

Browse files
committed
fixup
1 parent e88a7b5 commit f0d68c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def parallelStages = [failFast: false]
6969
retry(count: 2, conditions: [agent(), nonresumable()]) {
7070
// Use local variable to manage concurrency and increment BEFORE spinning up any agent
7171
final String resolvedAgentLabel = agentSelector(imageType, spotRetryCounter)
72-
retryCounter++
72+
spotRetryCounter++
7373
node(resolvedAgentLabel) {
7474
timeout(time: 60, unit: 'MINUTES') {
7575
checkout scm
@@ -105,7 +105,7 @@ def parallelStages = [failFast: false]
105105
}
106106
} else {
107107
// ci.jenkins.io builds (e.g. no publication)
108-
stage("Build on a '${resolvedAgentLabel}' agent") {
108+
stage("Build on '${resolvedAgentLabel}'") {
109109
if (isUnix()) {
110110
sh './build.sh'
111111
} else {

0 commit comments

Comments
 (0)