Skip to content

Instantly share code, notes, and snippets.

@jwmoss
Created January 13, 2021 03:23
Show Gist options
  • Save jwmoss/bd6778ece347e270190ebcb83c4c3e1e to your computer and use it in GitHub Desktop.
Save jwmoss/bd6778ece347e270190ebcb83c4c3e1e to your computer and use it in GitHub Desktop.
jenkins:
systemMessage: |
Welcome to our build server.
This Jenkins is 100% configured and managed 'as code'.
Config is now mostly handled by the 'Jenkins Configuration as Code' (JCasC) plugin.
JCasC config can be found in the jenkins.yaml file in the $JENKINS_HOME folder.
Some settings are still injected from init.groovy.d scripts,
but these settings will be ported over to JCasC as support becomes available.
numExecutors: 4
scmCheckoutRetryCount: 4
mode: NORMAL
securityRealm:
local:
allowsSignup: false
users:
- id: ${JENKINS_ADMIN_ID}
password: ${JENKINS_ADMIN_PASSWORD}
authorizationStrategy:
globalMatrix:
permissions:
- "Overall/Administer:admin"
- "Overall/Read:authenticated"
security:
queueItemAuthenticator:
authenticators:
- global:
strategy: triggeringUsersAuthorizationStrategy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment