Closed mrsombre closed 3 months ago
Greetings, we have a problem like described in this topic https://community.jenkins.io/t/while-upgrading-jenkins-to-2-426-2-i-am-getting-below-when-connecting-a-node-to-the-jenkins-server/12272 after upgrading nodes to java17. But i haven't find how i can set JAVA_OPTS for agent.
Fixed using Environment variables
sudo tee /etc/environment <<EOF JDK_JAVA_OPTIONS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED" EOF
Greetings, we have a problem like described in this topic https://community.jenkins.io/t/while-upgrading-jenkins-to-2-426-2-i-am-getting-below-when-connecting-a-node-to-the-jenkins-server/12272 after upgrading nodes to java17. But i haven't find how i can set JAVA_OPTS for agent.