-
Notifications
You must be signed in to change notification settings - Fork 1
/
jenkins.yml
40 lines (38 loc) · 1.15 KB
/
jenkins.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
jenkins:
systemMessage: |
Welcome to our build server.
This Jenkins is 100% configured and managed 'as code'.
Config is now mostly handled by 'Jenkins Configuration as Code Plugin' (JCasC).
JCasC config can be found in the jenkins.yaml file in the $JENKINS_HOME/casc/ 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: 5
scmCheckoutRetryCount: 2
mode: NORMAL
authorizationStrategy: unsecured
agentProtocols:
- "JNLP4-connect"
- "Ping"
crumbIssuer:
standard:
excludeClientIPFromCrumb: true
disableRememberMe: false
primaryView:
all:
name: "all"
quietPeriod: 5
slaveAgentPort: 50000
clouds:
- docker:
name: "docker"
templates:
- labelString: "docker-agent"
dockerTemplateBase:
image: "jenkins/slave"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
remoteFs: "/home/jenkins/agent"
connector:
attach:
user: "jenkins"
instanceCapStr: "10"