소스 검색

Add example changing heap size

Signed-off-by: Brian Herrera <[email protected]>
Brian Herrera 1 년 전
부모
커밋
5e19c24397
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      AutomatedReview/JenkinsDeploymentGuide.md

+ 4 - 1
AutomatedReview/JenkinsDeploymentGuide.md

@@ -46,6 +46,9 @@ docker run -d -p 8080:8080 --mount type=volume,target=/var/jenkins_home,source=<
 
 # Example with AWS credentials
 docker run -e "AWS_REGION=us-west-2" -e <AWS_ACCESS_KEY_ID> -e <AWS_SECRET_ACCESS_KEY> -d -p 8080:8080 --mount type=volume,target=/var/jenkins_home,source=<volume-name> jenkins
+
+# Example with updated Java heap size. Useful when testing locally. Default is 8g.
+docker run -e JAVA_OPTS=' -Xms1g -Xmx1g' -d -p 8080:8080 jenkins 
 ```
 
 ### Plugins
@@ -186,4 +189,4 @@ Fix:
 1. Reset the security realm to the following: `<securityRealm class="hudson.security.HudsonPrivateSecurityRealm">`
     - This will allow you to login with the initial admin user or another user account created in Jenkins. Go to JENKINS_HOME/secrets/initialAdminPassword for the admin password.
 2. Update both GitHub Auth plugin and Matrix Auth to latest
-3. Go to Settings > Configure Global Security then re-enable GitHub authentication
+3. Go to Settings > Configure Global Security then re-enable GitHub authentication