Skip to content

Commit c78483e

Browse files
christophstroblmp911de
authored andcommitted
Add Hibernate 6.2 (LTS) build profile.
Closes #3388 Original pull request: #3390
1 parent 5effabf commit c78483e

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

Jenkinsfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,27 @@ pipeline {
7878
}
7979
}
8080
}
81+
stage("test: hibernate 6.2 (LTS)") {
82+
agent {
83+
label 'data'
84+
}
85+
options { timeout(time: 30, unit: 'MINUTES')}
86+
environment {
87+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
88+
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}")
89+
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}")
90+
TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
91+
}
92+
steps {
93+
script {
94+
docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) {
95+
sh "PROFILE=all-dbs,hibernate-62 " +
96+
"JENKINS_USER_NAME=${p['jenkins.user.name']} " +
97+
"ci/test.sh"
98+
}
99+
}
100+
}
101+
}
81102
stage("test: java.next (next)") {
82103
agent {
83104
label 'data'

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<eclipselink-next>4.0.2</eclipselink-next>
3333
<hibernate>6.4.4.Final</hibernate>
3434
<hibernate-64-next-snapshots>6.4.5-SNAPSHOT</hibernate-64-next-snapshots>
35+
<hibernate-62>6.2.22.Final</hibernate-62>
3536
<hsqldb>2.7.1</hsqldb>
3637
<h2>2.2.220</h2>
3738
<jsqlparser>4.5</jsqlparser>
@@ -68,6 +69,18 @@
6869
</repository>
6970
</repositories>
7071
</profile>
72+
<profile>
73+
<id>hibernate-62</id>
74+
<properties>
75+
<hibernate>${hibernate-62}</hibernate>
76+
</properties>
77+
<dependencies>
78+
<dependency>
79+
<groupId>jakarta.persistence</groupId>
80+
<artifactId>jakarta.persistence-api</artifactId>
81+
</dependency>
82+
</dependencies>
83+
</profile>
7184
<profile>
7285
<id>all-dbs</id>
7386
<build>

0 commit comments

Comments
 (0)