Skip to content

Commit

Permalink
Revert "Increase keep builds number for certain jobs (adoptium#4594)"
Browse files Browse the repository at this point in the history
This reverts commit e4a2d3c.
  • Loading branch information
sxa committed Jun 2, 2023
1 parent 8b8ebc8 commit 8810350
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions buildenv/jenkins/testJobTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,6 @@ ARCH_OS_LIST.each { ARCH_OS ->
ACTUAL_JCK_GIT_REPO = "${JCK_GIT_REPO_PREFIX}/JCK${JDK_VERSION}-unzipped.git"
}

def BUILDS_TO_KEEP_MULTIPLIER = 1
if (ACTUAL_TEST_JOB_NAME.contains('_imageUpload') || ACTUAL_TEST_JOB_NAME.contains('_imagePull')) {
BUILDS_TO_KEEP_MULTIPLIER = 5
}
def ACTUAL_BUILDS_TO_KEEP = BUILDS_TO_KEEP * BUILDS_TO_KEEP_MULTIPLIER

def DOCKER_REQUIRED = false
def DOCKERIMAGE_TAG = ""
def EXTRA_DOCKER_ARGS = ""
Expand Down Expand Up @@ -476,8 +470,8 @@ ARCH_OS_LIST.each { ARCH_OS ->
}
}
logRotator {
numToKeep(ACTUAL_BUILDS_TO_KEEP)
artifactNumToKeep(ACTUAL_BUILDS_TO_KEEP)
numToKeep(BUILDS_TO_KEEP)
artifactNumToKeep(BUILDS_TO_KEEP)
daysToKeep(DAYS_TO_KEEP)
artifactDaysToKeep(DAYS_TO_KEEP)
}
Expand Down

0 comments on commit 8810350

Please sign in to comment.