-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcasc.yaml
57 lines (57 loc) · 1.41 KB
/
casc.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
jenkins:
securityRealm:
local:
allowsSignup: false
users:
- id: ${JENKINS_ADMIN_ID}
password: ${JENKINS_ADMIN_PASSWORD}
authorizationStrategy:
globalMatrix:
permissions:
- "Overall/Administer:admin"
- "Overall/Read:authenticated"
remotingSecurity:
enabled: true
clouds:
- docker:
containerCap: 5
dockerApi:
connectTimeout: 60
dockerHost:
uri: "unix://var/run/docker.sock"
readTimeout: 60
exposeDockerHost: true
name: "dind"
templates:
- connector: "attach"
dockerTemplateBase:
cpuPeriod: 0
cpuQuota: 0
image: "pipeline/agent"
instanceCapStr: "10"
labelString: "agent"
mode: EXCLUSIVE
name: "Jenkins Agent"
pullStrategy: PULL_ALWAYS
pullTimeout: 300
remoteFs: "/home/jenkins/agent"
security:
queueItemAuthenticator:
authenticators:
- global:
strategy: triggeringUsersAuthorizationStrategy
unclassified:
location:
url: http://server_ip:8080/
jobs:
- file: /var/jenkins_home/pipeline.groovy
credentials:
system:
domainCredentials:
- credentials:
- usernamePassword:
id: "gitlab-credentials"
username: ${GITLAB_USERNAME}
password: ${GITLAB_PASSWORD}
description: "Sample credentials of exampleuser"
scope: GLOBAL