Skip to content

Commit

Permalink
Try to workaround hibernate-platform not being published to maven local
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Dec 20, 2024
1 parent 6b75af0 commit adb2c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/jpa-3.2-tck.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ pipeline {
"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'
// 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,
// 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 {
env.HIBERNATE_VERSION = sh (
Expand Down

0 comments on commit adb2c1e

Please sign in to comment.