Try to workaround hibernate-platform not being published to maven local

This commit is contained in:
Christian Beikov 2024-12-20 15:09:40 +01:00
parent 6b75af0902
commit adb2c1e023
1 changed files with 2 additions and 2 deletions

View File

@ -52,10 +52,10 @@ pipeline {
"DISABLE_REMOTE_GRADLE_CACHE=true" "DISABLE_REMOTE_GRADLE_CACHE=true"
]) { ]) {
sh './gradlew clean publishToMavenLocal -x test --no-scan --no-daemon --no-build-cache --stacktrace -PmavenMirror=nexus-load-balancer-c4cf05fd92f43ef8.elb.us-east-1.amazonaws.com' sh './gradlew clean publishToMavenLocal -x test --no-scan --no-daemon --no-build-cache --stacktrace -PmavenMirror=nexus-load-balancer-c4cf05fd92f43ef8.elb.us-east-1.amazonaws.com'
// For some reason, Gradle does not publish hibernate-platform // For some reason, Gradle does not publish hibernate-platform and hibernate-testing
// to the local maven repository with the previous command, // to the local maven repository with the previous command,
// but requires an extra run instead // but requires an extra run instead
sh './gradlew :hibernate-platform:publishToMavenLocal -x test --no-scan --no-daemon --no-build-cache --stacktrace -PmavenMirror=nexus-load-balancer-c4cf05fd92f43ef8.elb.us-east-1.amazonaws.com' sh './gradlew :hibernate-testing:publishToMavenLocal :hibernate-platform:publishToMavenLocal -x test --no-scan --no-daemon --no-build-cache --stacktrace -PmavenMirror=nexus-load-balancer-c4cf05fd92f43ef8.elb.us-east-1.amazonaws.com'
} }
script { script {
env.HIBERNATE_VERSION = sh ( env.HIBERNATE_VERSION = sh (