Where to set the System Properties in Jenkins?
These are regular JVM system properties. Pass them using -Denkins.ec2.bootstrapAuthSleepMs=value and -Djenkins.ec2.bootstrapAuthTries=value on Jenkins startup. You need to edit the Jenkins configuration/startup script on disk and restart Jenkins to apply the changes.
In most Jenkins installations, this is the "JAVA_ARGS" variable in the Jenkins config or startup script. On ubuntu/debian, this is configured in /etc/default/jenkins.
Andra
Updated on June 14, 2022Comments
-
Andra almost 2 years
I am exploring the EC2 plugin of Jenkins. One of the issues reported is with the Authentication Timeout.
jenkins.ec2.bootstrapAuthSleepMs (default 30000) jenkins.ec2.bootstrapAuthTries (default 30)
I am seeing this issue with my install and I am trying to set the properties accordingly. So far without any success. Where do you increase the default timeout values for a jenkins install as suggested on the Install page?
-
andrew lorien over 7 yearsIn Jenkins 2.7.1 on CentOS the file is /etc/sysconfig/jenkins and the variable is JENKINS_JAVA_OPTIONS
-
vikramvi about 6 yearsI don't find sysconfig under /etc in Ubuntu 16.04, where does this exists ?