From a127005c9f478655ab1886da1cb3ca3063854240 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Thu, 27 Nov 2025 22:22:30 +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 a588f4a2818..fa90ff532a5 100644 --- a/ci/dependency-update/Jenkinsfile +++ b/ci/dependency-update/Jenkinsfile @@ -104,10 +104,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 b9657e2d4d6b71a79f80f3590c24abb5cc6392f8 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 56cbd5d951a..03cf9408481 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -333,7 +333,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 c94fe4452508605478221b42a638a1ef95c66e44 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Fri, 28 Nov 2025 11:03:43 +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 03cf9408481..4e15d8d04c0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -183,7 +183,7 @@ stage('Configure') { // and it's useful to test that. new JdkBuildEnvironment(version: '22', testCompilerTool: 'OpenJDK 22 Latest', testLauncherArgs: '--enable-preview', - condition: TestCondition.AFTER_MERGE), + condition: TestCondition.ON_DEMAND), // The following JDKs aren't supported by Hibernate ORM out-of-the box yet: // they require the use of -Dnet.bytebuddy.experimental=true. // Make sure to remove that argument as soon as possible @@ -193,7 +193,7 @@ stage('Configure') { condition: TestCondition.AFTER_MERGE), new JdkBuildEnvironment(version: '24', testCompilerTool: 'OpenJDK 24 Latest', testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true', - condition: TestCondition.AFTER_MERGE), + condition: TestCondition.ON_DEMAND), new JdkBuildEnvironment(version: '25', testCompilerTool: 'OpenJDK 25 Latest', testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true', condition: TestCondition.AFTER_MERGE)