HHH-18844 - Run preVerifyRelease task as part of h2 CI job

This commit is contained in:
Steve Ebersole 2024-11-13 11:59:27 -06:00
parent 0001a83cab
commit 1310fa4f0b
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ goal=
if [ "$RDBMS" == "h2" ]; then
# This is the default.
goal="preVerifyRelease"
# Settings needed for `preVerifyRelease` execution - for asciidoctor doc rendering
export GRADLE_OPTS=-Dorg.gradle.jvmargs='-Dlog4j2.disableJmx -Xmx4g -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8'
elif [ "$RDBMS" == "hsqldb" ] || [ "$RDBMS" == "hsqldb_2_6" ]; then
goal="-Pdb=hsqldb"
elif [ "$RDBMS" == "mysql" ] || [ "$RDBMS" == "mysql_8_0" ]; then
@ -82,4 +84,4 @@ function logAndExec() {
exec "${@}"
}
logAndExec ./gradlew ciCheck ${goal} "${@}" -Plog-test-progress=true --stacktrace
logAndExec ./gradlew ${gradleOpts} ciCheck ${goal} "${@}" -Plog-test-progress=true --stacktrace