Skip to content

Commit a005407

Browse files
committed
Add JVM --add-opens module options for Gradle execution when deploying docs.
Declaring open mnodules will hopefully address this problem in the Jenkins CI build: 10:41:50 > Task :spring-geode-docs:asciidoctor 10:41:50 2022-02-23T18:41:49.599Z [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem 10:41:50 Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
1 parent 415e340 commit a005407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/deployDocs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "Deploying docs on host [$HOSTNAME]"
99
# Syntax: `chown -R userId:groupId .`
1010
chown -R 1001:1001 .
1111

12-
GRADLE_OPTS="-Duser.name=jenkins -Djava.io.tmpdir=/tmp -Dgradle.user.home=/tmp/geode/boot/docs-gradle-cache" \
12+
GRADLE_OPTS="--add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED -Duser.name=jenkins -Djava.io.tmpdir=/tmp -Dgradle.user.home=/tmp/geode/boot/docs-gradle-cache" \
1313
./gradlew deployDocs --no-daemon --stacktrace \
1414
-PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY \
1515
-PdeployDocsSshUsername=$SPRING_DOCS_USERNAME

0 commit comments

Comments
 (0)