We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f06eae commit d13adbcCopy full SHA for d13adbc
Jenkinsfile
@@ -1,5 +1,3 @@
1
-@Library('pipeline-library@pull/985/head') _
2
-
3
final String cronExpr = env.BRANCH_IS_PRIMARY ? '@daily' : ''
4
5
properties([
@@ -8,7 +6,7 @@ properties([
8
6
pipelineTriggers([cron(cronExpr)]),
9
7
])
10
11
-def agentSelector(String imageType, spotRetryCounter) {
+def agentSelector(String imageType, retryCounter) {
12
def platform
13
switch (imageType) {
14
// nanoserver-1809, nanoserver-ltsc2019 and windowservercore-ltsc2019
@@ -37,7 +35,7 @@ def agentSelector(String imageType, spotRetryCounter) {
37
35
return infra.getBuildAgentLabel([
38
36
useContainerAgent: false,
39
platform: platform,
40
- spotRetryCounter: spotRetryCounter
+ spotRetryCounter: retryCounter
41
42
}
43
0 commit comments