File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,12 @@ ARCH_OS_LIST.each { ARCH_OS ->
180
180
ACTUAL_JCK_GIT_REPO = " ${ JCK_GIT_REPO_PREFIX} /JCK${ JDK_VERSION} -unzipped.git"
181
181
}
182
182
183
+ def BUILDS_TO_KEEP_MULTIPLIER = 1
184
+ if (ACTUAL_TEST_JOB_NAME . contains(' _imageUpload' ) || ACTUAL_TEST_JOB_NAME . contains(' _imagePull' )) {
185
+ BUILDS_TO_KEEP_MULTIPLIER = 5
186
+ }
187
+ def ACTUAL_BUILDS_TO_KEEP = BUILDS_TO_KEEP * BUILDS_TO_KEEP_MULTIPLIER
188
+
183
189
def DOCKER_REQUIRED = false
184
190
def DOCKERIMAGE_TAG = " "
185
191
def EXTRA_DOCKER_ARGS = " "
@@ -470,8 +476,8 @@ ARCH_OS_LIST.each { ARCH_OS ->
470
476
}
471
477
}
472
478
logRotator {
473
- numToKeep(BUILDS_TO_KEEP )
474
- artifactNumToKeep(BUILDS_TO_KEEP )
479
+ numToKeep(ACTUAL_BUILDS_TO_KEEP )
480
+ artifactNumToKeep(ACTUAL_BUILDS_TO_KEEP )
475
481
daysToKeep(DAYS_TO_KEEP )
476
482
artifactDaysToKeep(DAYS_TO_KEEP )
477
483
}
You can’t perform that action at this time.
0 commit comments