Skip to content

Commit 6df5bd7

Browse files
odrotbohmmp911de
authored andcommitted
Add build profile for Hibernate 6.4 snapshots.
Original pull request: #3201 See #3239
1 parent adaae1c commit 6df5bd7

File tree

2 files changed

+37
-2
lines changed

2 files changed

+37
-2
lines changed

Jenkinsfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,25 @@ pipeline {
7474
}
7575
}
7676
}
77+
stage("test: baseline (hibernate 6.4.x snapshots)") {
78+
agent {
79+
label 'data'
80+
}
81+
options { timeout(time: 30, unit: 'MINUTES')}
82+
environment {
83+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
84+
GRADLE_ENTERPRISE_CACHE = credentials("${p['gradle-enterprise-cache.credentials']}")
85+
GRADLE_ENTERPRISE_ACCESS_KEY = credentials("${p['gradle-enterprise.access-key']}")
86+
TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
87+
}
88+
steps {
89+
script {
90+
docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) {
91+
sh 'PROFILE=all-dbs,hibernate-64-next ci/test.sh'
92+
}
93+
}
94+
}
95+
}
7796
stage("test: java.next (next)") {
7897
agent {
7998
label 'data'

pom.xml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
<eclipselink>3.0.3</eclipselink>
3232
<eclipselink-next>4.0.2</eclipselink-next>
3333
<hibernate>6.3.1.Final</hibernate>
34-
<hibernate-next-snapshots>6.3.2-SNAPSHOT</hibernate-next-snapshots>
34+
<hibernate-64-next-snapshots>6.4.0-SNAPSHOT</hibernate-64-next-snapshots>
35+
<hibernate-63-next-snapshots>6.3.2-SNAPSHOT</hibernate-63-next-snapshots>
3536
<hsqldb>2.7.1</hsqldb>
3637
<h2>2.2.220</h2>
3738
<jsqlparser>4.5</jsqlparser>
@@ -54,10 +55,25 @@
5455

5556

5657
<profiles>
58+
<profile>
59+
<id>hibernate-64-next</id>
60+
<properties>
61+
<hibernate>${hibernate-64-next-snapshots}</hibernate>
62+
</properties>
63+
<repositories>
64+
<repository>
65+
<id>sonatype-oss</id>
66+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
67+
<releases>
68+
<enabled>false</enabled>
69+
</releases>
70+
</repository>
71+
</repositories>
72+
</profile>
5773
<profile>
5874
<id>hibernate-63-next</id>
5975
<properties>
60-
<hibernate>${hibernate-next-snapshots}</hibernate>
76+
<hibernate>${hibernate-63-next-snapshots}</hibernate>
6177
</properties>
6278
<repositories>
6379
<repository>

0 commit comments

Comments
 (0)