From 297291fdd2b9d0dbc7b6727fcb5eeceffa9bec7d Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Thu, 27 Nov 2025 22:19:01 +0100 Subject: [PATCH 1/3] Do not run dependency update job on cron since we do not publish ORM snapshots anymore for this branch there is nothing to rebuild... Job can still be triggered manually --- ci/dependency-update/Jenkinsfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ci/dependency-update/Jenkinsfile b/ci/dependency-update/Jenkinsfile index 70acba5f8b9..fd5856bf922 100644 --- a/ci/dependency-update/Jenkinsfile +++ b/ci/dependency-update/Jenkinsfile @@ -87,10 +87,6 @@ String qualify(String radical) { pipeline { agent none - triggers { - // Run at least once per week, in case of snapshot updates. - cron '@weekly' - } parameters { // choice parameter doesn't have a default, but the first value should be treated as a default, if it wasn't specified manually. // Make sure tp update axis and settings() when adding new choice parameter. From 60881bad065163876ee5ff81853706a835438257 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Thu, 27 Nov 2025 22:19:45 +0100 Subject: [PATCH 2/3] Switch main job to run with a cron trigger --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d97e6c625cd..26e8264f619 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -319,7 +319,9 @@ stage('Configure') { pipelineTriggers( // HSEARCH-3417: do not add snapshotDependencies() here, this was known to cause problems. [ - issueCommentTrigger('.*test this please.*') + issueCommentTrigger('.*test this please.*'), + // Run every week Sunday @ 2 AM + cron('0 2 * * 0') ] + helper.generateUpstreamTriggers() ), From 32fa226669661b79c1a509226d477d31ca15de8f Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Fri, 28 Nov 2025 11:06:53 +0100 Subject: [PATCH 3/3] Stop testing on EOLed JDKs --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 26e8264f619..88cacf755bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -157,13 +157,13 @@ stage('Configure') { // and it's useful to test that. new JdkBuildEnvironment(version: '20', testCompilerTool: 'OpenJDK 20 Latest', testLauncherArgs: '--enable-preview', - condition: TestCondition.AFTER_MERGE), + condition: TestCondition.ON_DEMAND), new JdkBuildEnvironment(version: '21', testCompilerTool: 'OpenJDK 21 Latest', testLauncherArgs: '--enable-preview', condition: TestCondition.AFTER_MERGE), new JdkBuildEnvironment(version: '22', testCompilerTool: 'OpenJDK 22 Latest', testLauncherArgs: '--enable-preview', - condition: TestCondition.AFTER_MERGE) + condition: TestCondition.ON_DEMAND) // IMPORTANT: Make sure to update the documentation for any newly supported Java versions // See java-version.main.compatible.expected.text in POMs. ],