Add Hibernate 6.2 (LTS) build profile.

Closes #3388
Original pull request: #3390
This commit is contained in:
Christoph Strobl
2024-03-04 11:54:40 +01:00
committed by Mark Paluch
parent 25a01dfeb0
commit cf498a5069
2 changed files with 34 additions and 0 deletions

21
Jenkinsfile vendored
View File

@@ -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'

13
pom.xml
View File

@@ -32,6 +32,7 @@
<eclipselink-next>4.0.2</eclipselink-next>
<hibernate>6.4.4.Final</hibernate>
<hibernate-64-next-snapshots>6.4.5-SNAPSHOT</hibernate-64-next-snapshots>
<hibernate-62>6.2.22.Final</hibernate-62>
<hsqldb>2.7.1</hsqldb>
<h2>2.2.220</h2>
<jsqlparser>4.8</jsqlparser>
@@ -69,6 +70,18 @@
</repository>
</repositories>
</profile>
<profile>
<id>hibernate-62</id>
<properties>
<hibernate>${hibernate-62}</hibernate>
</properties>
<dependencies>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>all-dbs</id>
<build>