-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
jenkins.yaml
115 lines (113 loc) · 3.15 KB
/
jenkins.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
jenkins:
mode: NORMAL
numExecutors: 2
agentProtocols:
- "JNLP4-connect"
- "Ping"
nodeProperties:
- jobRestrictionProperty:
jobRestriction:
or:
first:
multipleAnd:
restrictions:
- ownersList:
usersList:
- selectedUserId: "admin"
acceptsCoOwners: false
- regexNameRestriction:
checkShortName: false
regexExpression: "^System/.+"
second:
jobClassNameRestriction:
jobClasses:
- selectedClass: "org.jenkinsci.plugins.workflow.job.WorkflowJob"
crumbIssuer:
standard:
excludeClientIPFromCrumb: true
disableRememberMe: false
scmCheckoutRetryCount: 0
projectNamingStrategy: "standard"
markupFormatter: "plainText"
slaveAgentPort: 50000
myViewsTabBar: "standard"
viewsTabBar: "standard"
securityRealm:
local:
allowsSignup: false
enableCaptcha: false
authorizationStrategy:
roleBased:
roles:
global:
- name: "admin"
description: "Jenkins administrators with full permissions"
permissions:
- "Overall/Administer"
assignments:
- "admin"
- name: "manager"
description: "Jenkins managers with limited admin permissions"
permissions:
- "Overall/Manage"
assignments:
- "manager"
- name: "readonly-admin"
description: "Jenkins read-only administrators"
permissions:
- "Overall/SystemRead"
- "Job/Read"
- "Agent/Read"
assignments:
- "readonly"
- name: "readonly-user"
description: "Read-only users"
permissions:
- "Overall/Read"
- "Job/Read"
- "Agent/Build"
assignments:
- "authenticated"
items:
- name: "@OwnerNoSid"
description: "Primary Owners"
pattern: ".*"
permissions:
- "Job/Configure"
- "Job/Build"
- "Job/Delete"
- "Run/Delete"
assignments:
- "authenticated"
- name: "@CoOwnerNoSid"
description: "Secondary Owners"
pattern: ".*"
permissions:
- "Job/Configure"
- "Job/Build"
assignments:
- "authenticated"
agents:
- name: "@OwnerNoSid"
description: "Primary Owners"
pattern: ".*"
permissions:
- "Agent/Configure"
- "Agent/Build"
- "Agent/Delete"
- "Agent/Build"
assignments:
- "authenticated"
- name: "@CoOwnerNoSid"
description: "Secondary Owners"
pattern: ".*"
permissions:
- "Agent/Connect"
- "Agent/Build"
assignments:
- "authenticated"
tool:
git:
installations:
- home: "git"
name: "Default"