Add build profile for Hibernate 6.4 snapshots.

Original pull request: #3201
See #3239
This commit is contained in:
Oliver Drotbohm
2023-10-11 23:27:11 +02:00
committed by Mark Paluch
parent adaae1c040
commit 6df5bd7685
2 changed files with 37 additions and 2 deletions

19
Jenkinsfile vendored
View File

@@ -74,6 +74,25 @@ pipeline {
}
}
}
stage("test: baseline (hibernate 6.4.x snapshots)") {
agent {
label 'data'
}
options { timeout(time: 30, unit: 'MINUTES')}
environment {
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
GRADLE_ENTERPRISE_CACHE = credentials("${p['gradle-enterprise-cache.credentials']}")
GRADLE_ENTERPRISE_ACCESS_KEY = credentials("${p['gradle-enterprise.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-64-next ci/test.sh'
}
}
}
}
stage("test: java.next (next)") {
agent {
label 'data'

20
pom.xml
View File

@@ -31,7 +31,8 @@
<eclipselink>3.0.3</eclipselink>
<eclipselink-next>4.0.2</eclipselink-next>
<hibernate>6.3.1.Final</hibernate>
<hibernate-next-snapshots>6.3.2-SNAPSHOT</hibernate-next-snapshots>
<hibernate-64-next-snapshots>6.4.0-SNAPSHOT</hibernate-64-next-snapshots>
<hibernate-63-next-snapshots>6.3.2-SNAPSHOT</hibernate-63-next-snapshots>
<hsqldb>2.7.1</hsqldb>
<h2>2.2.220</h2>
<jsqlparser>4.5</jsqlparser>
@@ -54,10 +55,25 @@
<profiles>
<profile>
<id>hibernate-64-next</id>
<properties>
<hibernate>${hibernate-64-next-snapshots}</hibernate>
</properties>
<repositories>
<repository>
<id>sonatype-oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
<profile>
<id>hibernate-63-next</id>
<properties>
<hibernate>${hibernate-next-snapshots}</hibernate>
<hibernate>${hibernate-63-next-snapshots}</hibernate>
</properties>
<repositories>
<repository>