-
Notifications
You must be signed in to change notification settings - Fork 41
/
jenkins.yaml
176 lines (172 loc) · 4.76 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
jenkins:
agentProtocols:
- "JNLP4-connect"
- "Ping"
authorizationStrategy: "loggedInUsersCanDoAnything"
crumbIssuer:
standard:
excludeClientIPFromCrumb: false
disableRememberMe: false
disabledAdministrativeMonitors:
- "hudson.diagnosis.ReverseProxySetupMonitor"
markupFormatter:
rawHtml:
disableSyntaxHighlighting: false
mode: NORMAL
myViewsTabBar: "standard"
nodes:
- permanent:
labelString: "docker linux agent java jdk21 java21"
launcher:
ssh:
credentialsId: "jenkins-ssh-agent-private-key"
host: "java-agent"
port: 22
sshHostKeyVerificationStrategy: "nonVerifyingKeyVerificationStrategy"
jvmOptions: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8001"
name: "java-agent"
nodeDescription: "Jenkins Docker Agent with Java 21 and Maven"
numExecutors: 1
remoteFS: "/home/jenkins/agent"
retentionStrategy: "always"
numExecutors: 0
primaryView:
list:
columns:
- "status"
- "weather"
- "jobName"
- "gitBranchSpecifierColumn"
- "lastSuccess"
- "lastFailure"
- "lastDuration"
- coverageTotalsColumn:
columnName: "Line Coverage"
metric: LINE
- coverageTotalsColumn:
columnName: "Branch Coverage"
metric: BRANCH
- "issueTotalsColumn"
- "buildButton"
includeRegex: ".*"
name: "List View"
projectNamingStrategy: "standard"
quietPeriod: 5
scmCheckoutRetryCount: 0
securityRealm:
local:
allowsSignup: false
enableCaptcha: false
slaveAgentPort: 50000
systemMessage: "<h1>Java and Maven Showcase</h1>"
updateCenter:
sites:
- id: "default"
url: "https://updates.jenkins.io/update-center.json"
views:
- list:
columns:
- "status"
- "weather"
- "jobName"
- "gitBranchSpecifierColumn"
- "lastSuccess"
- "lastFailure"
- "lastDuration"
- coverageTotalsColumn:
columnName: "Line Coverage"
metric: LINE
- coverageTotalsColumn:
columnName: "Branch Coverage"
metric: BRANCH
- "issueTotalsColumn"
- "buildButton"
includeRegex: ".*"
name: "List View"
- dashboard:
columns:
- "status"
- "weather"
- "jobName"
- "lastSuccess"
- "lastFailure"
- "lastDuration"
- coverageTotalsColumn:
columnName: "Line Coverage"
metric: LINE
- coverageTotalsColumn:
columnName: "Branch Coverage"
metric: BRANCH
- "issueTotalsColumn"
- "buildButton"
includeStdJobList: true
includeRegex: ".*"
leftPortlets:
- issuesChartPortlet:
height: 600
name: "Static analysis issues chart"
name: "Dashboard View"
rightPortlets:
- issuesTablePortlet:
name: "Static analysis issues per tool and job"
showIcons: true
viewsTabBar: "standard"
appearance:
locale:
ignoreAcceptLanguage: true
systemLocale: "USE_BROWSER_LOCALE"
prism:
theme: PRISM
security:
apiToken:
creationOfLegacyTokenEnabled: false
tokenGenerationOnCreationEnabled: false
usageStatisticsEnabled: true
globalJobDslSecurityConfiguration:
useScriptSecurity: true
sSHD:
port: -1
credentials:
system:
domainCredentials:
- credentials:
- basicSSHUserPrivateKey:
description: "Private SSH key for Jenkins agent"
id: "jenkins-ssh-agent-private-key"
privateKeySource:
directEntry:
privateKey: ${readFile:/ssh-dir/jenkins_agent_ed}
scope: SYSTEM
username: "jenkins"
unclassified:
globalDefaultFlowDurabilityLevel:
durabilityHint: PERFORMANCE_OPTIMIZED
location:
adminAddress: "Address not configured <nobody@nowhere>"
url: "http://localhost:8080/"
mailer:
charset: "UTF-8"
useSsl: false
pollSCM:
pollingThreadCount: 10
tool:
git:
installations:
- home: "git"
name: "git-default"
maven:
installations:
- home: "/opt/maven"
name: "mvn-default"
pipelineMaven:
publisherOptions:
- jacocoPublisher:
disabled: true
- junitPublisher:
disabled: true
healthScaleFactor: 1.0
triggerDownstreamUponResultAborted: false
triggerDownstreamUponResultFailure: false
triggerDownstreamUponResultNotBuilt: false
triggerDownstreamUponResultSuccess: true
triggerDownstreamUponResultUnstable: false