From cf498a50692754f99e8ed374ca4b52ee95b54368 Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Mon, 4 Mar 2024 11:54:40 +0100 Subject: [PATCH] Add Hibernate 6.2 (LTS) build profile. Closes #3388 Original pull request: #3390 --- Jenkinsfile | 21 +++++++++++++++++++++ pom.xml | 13 +++++++++++++ 2 files changed, 34 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 44241474f..4ffafd3ea 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -78,6 +78,27 @@ pipeline { } } } + 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 index 75f16b182..b6577054d 100644 --- a/pom.xml +++ b/pom.xml @@ -32,6 +32,7 @@ 4.0.2 6.4.4.Final 6.4.5-SNAPSHOT + 6.2.22.Final 2.7.1

2.2.220

4.8 @@ -69,6 +70,18 @@ + + hibernate-62 + + ${hibernate-62} + + + + jakarta.persistence + jakarta.persistence-api + + + all-dbs