Skip to content

Commit 895d60c

Browse files
committed
Upgrade Hibernate 6.3 build profile to enable integration builds against latest snapshots.
Related ticket: #3146.
1 parent 3b8556b commit 895d60c

File tree

2 files changed

+15
-24
lines changed

2 files changed

+15
-24
lines changed

Jenkinsfile

+2-20
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pipeline {
5454
}
5555

5656
parallel {
57-
stage("test: java.next (hibernate 6.1)") {
57+
stage("test: baseline (hibernate 6.3.x snapshots)") {
5858
agent {
5959
label 'data'
6060
}
@@ -66,25 +66,7 @@ pipeline {
6666
steps {
6767
script {
6868
docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) {
69-
sh 'PROFILE=all-dbs,hibernate-61 ci/test.sh'
70-
sh "ci/clean.sh"
71-
}
72-
}
73-
}
74-
}
75-
stage("test: baseline (hibernate 6.3)") {
76-
agent {
77-
label 'data'
78-
}
79-
options { timeout(time: 30, unit: 'MINUTES')}
80-
environment {
81-
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
82-
TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
83-
}
84-
steps {
85-
script {
86-
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) {
87-
sh 'PROFILE=all-dbs,hibernate-63 ci/test.sh'
69+
sh 'PROFILE=all-dbs,hibernate-63-next ci/test.sh'
8870
sh "ci/clean.sh"
8971
}
9072
}

pom.xml

+13-4
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,25 @@
5353

5454
<profiles>
5555
<profile>
56-
<id>hibernate-61</id>
56+
<id>hibernate-63</id>
5757
<properties>
58-
<hibernate>6.1.7.Final</hibernate>
58+
<hibernate>6.3.0.Final</hibernate>
5959
</properties>
6060
</profile>
6161
<profile>
62-
<id>hibernate-63</id>
62+
<id>hibernate-63-next</id>
6363
<properties>
64-
<hibernate>6.3.0.CR1</hibernate>
64+
<hibernate>6.3.1-SNAPSHOT</hibernate>
6565
</properties>
66+
<repositories>
67+
<repository>
68+
<id>sonatype-oss</id>
69+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
70+
<releases>
71+
<enabled>false</enabled>
72+
</releases>
73+
</repository>
74+
</repositories>
6675
</profile>
6776
<profile>
6877
<id>all-dbs</id>

0 commit comments

Comments
 (0)