From 43b40ed123f2637b9dc6ba5087692f82c3757904 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Tue, 2 Apr 2024 15:08:04 +0200 Subject: [PATCH] Broaden integration test builds against Hibernate 6 versions. Upgrade to Hibernate 6.5 as baseline. Set up build profiles for all supported Hibernate 6 versions. Also trigger them in CI as compatibility builds. Ticket: GH-3413. --- Jenkinsfile | 67 +++++++++++++++++++++++++++++++++++------------------ pom.xml | 30 ++++++++++++++++++------ 2 files changed, 67 insertions(+), 30 deletions(-) mode change 100644 => 100755 pom.xml diff --git a/Jenkinsfile b/Jenkinsfile index 4ffafd3ea..6b9bd36e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,7 @@ pipeline { } parallel { - stage("test: baseline (hibernate 6.4.x snapshots)") { + stage("test: hibernate 6.2 (LTS)") { agent { label 'data' } @@ -71,34 +71,55 @@ pipeline { steps { script { docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) { - sh "PROFILE=all-dbs,hibernate-64-next " + + sh "PROFILE=all-dbs,hibernate-62 " + + "JENKINS_USER_NAME=${p['jenkins.user.name']} " + + "ci/test.sh" + } + } + } + } + stage("test: baseline (hibernate 6.5 snapshots)") { + agent { + label 'data' + } + options { timeout(time: 30, unit: 'MINUTES')} + environment { + ARTIFACTORY = credentials("${p['artifactory.credentials']}") + DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") + DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") + TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor' + } + steps { + script { + docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) { + sh "PROFILE=all-dbs,hibernate-65-snapshots " + + "JENKINS_USER_NAME=${p['jenkins.user.name']} " + + "ci/test.sh" + } + } + } + } + stage("test: baseline (hibernate 6.6 snapshots)") { + agent { + label 'data' + } + options { timeout(time: 30, unit: 'MINUTES')} + environment { + ARTIFACTORY = credentials("${p['artifactory.credentials']}") + DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") + DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") + TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor' + } + steps { + script { + docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) { + sh "PROFILE=all-dbs,hibernate-66-snapshots " + "JENKINS_USER_NAME=${p['jenkins.user.name']} " + "ci/test.sh" } } } } - stage("test: hibernate 6.2 (LTS)") { - agent { - label 'data' - } - options { timeout(time: 30, unit: 'MINUTES')} - environment { - ARTIFACTORY = credentials("${p['artifactory.credentials']}") - DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") - DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") - TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor' - } - steps { - script { - docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) { - sh "PROFILE=all-dbs,hibernate-62 " + - "JENKINS_USER_NAME=${p['jenkins.user.name']} " + - "ci/test.sh" - } - } - } - } stage("test: java.next (next)") { agent { label 'data' diff --git a/pom.xml b/pom.xml old mode 100644 new mode 100755 index ab62a043d..262e8ffa3 --- a/pom.xml +++ b/pom.xml @@ -30,9 +30,10 @@ 4.13.0 3.0.4 4.0.2 - 6.4.4.Final - 6.4.5-SNAPSHOT - 6.2.22.Final + 6.5.0.CR1 + 6.2.24.Final + 6.5.0-SNAPSHOT + 6.6.0-SNAPSHOT 2.7.1

2.2.220

3.1.0 @@ -57,9 +58,15 @@ - hibernate-64-next + hibernate-62 - ${hibernate-64-next-snapshots} + ${hibernate-62} + + + + hibernate-65-snapshots + + ${hibernate-65-snapshots} @@ -72,10 +79,19 @@ - hibernate-62 + hibernate-66-snapshots - ${hibernate-62} + ${hibernate-66-snapshots} + + + sonatype-oss + https://oss.sonatype.org/content/repositories/snapshots + + false + + + all-dbs