Skip to content

Commit

Permalink
Disable JDK21 nightlies, set Weekly builds to not publish (#736)
Browse files Browse the repository at this point in the history
* Disable nightly builds as they are superceded by ea

Signed-off-by: Stewart X Addison <[email protected]>

* Disable nightly JDK21 builds, set weeklies to not publish

Signed-off-by: Stewart X Addison <[email protected]>

---------

Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Jun 22, 2023
1 parent 17418f8 commit d07cc6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pipelines/build/common/build_base_file.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -760,15 +760,16 @@ class Builder implements Serializable {

def timestamp = new Date().format('yyyy-MM-dd-HH-mm', TimeZone.getTimeZone('UTC'))
def tag = "${javaToBuild}-${timestamp}"

if (publishName) {
tag = publishName
}


context.stage('publish') {
context.build job: 'build-scripts/release/refactor_openjdk_release_tool',
parameters: [
['$class': 'BooleanParameterValue', name: 'RELEASE', value: release],
['$class': 'BooleanParameterValue', name: 'DRY_RUN', value: (isWeekly ? true : false)],
context.string(name: 'TAG', value: tag),
context.string(name: 'TIMESTAMP', value: timestamp),
context.string(name: 'UPSTREAM_JOB_NAME', value: env.JOB_NAME),
Expand Down
2 changes: 1 addition & 1 deletion pipelines/jobs/configurations/jdk21.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ targetConfigurations = [
]

// 23:30 Mon, Wed, Fri
triggerSchedule_nightly = 'TZ=UTC\n30 23 * * 1,3,5'
// triggerSchedule_nightly = 'TZ=UTC\n30 23 * * 1,3,5'
// 23:30 Sat
triggerSchedule_weekly = 'TZ=UTC\n30 23 * * 6'

Expand Down
2 changes: 1 addition & 1 deletion pipelines/jobs/configurations/jdk21_evaluation.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ targetConfigurations = [
// if set to empty string then it wont get triggered

// 23:40 Mon, Wed
triggerSchedule_evaluation = 'TZ=UTC\n40 23 * * 1,3'
// triggerSchedule_evaluation = 'TZ=UTC\n40 23 * * 1,3'
// 23:40 Sat
triggerSchedule_weekly_evaluation = 'TZ=UTC\n40 23 * * 6'

Expand Down

0 comments on commit d07cc6a

Please sign in to comment.