This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.yaml
292 lines (274 loc) · 10.2 KB
/
main.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
---
# The version of the jenkins when it is installed with the jenkins role dependency
jenkins_pipeline_library_jenkins_version: "2.346.2"
# Controls if the jenkins will be installed by the jenkins role dependency
jenkins_pipeline_library_jenkins_install: false
# Controls the jenkins_prefer_lts option of geerlingguy.jenkins dependency
jenkins_pipeline_library_jenkins_prefer_lts: true
# Linux jenkins user
jenkins_pipeline_library_jenkins_process_user: jenkins
# Linux group of jenkins user
jenkins_pipeline_library_jenkins_process_group: "{{ jenkins_pipeline_library_jenkins_process_user }}"
# Jenkins admin username
jenkins_pipeline_library_admin_username: admin
# Jenkins admin password
jenkins_pipeline_library_admin_password: admin
# Path to the jenkins directory
jenkins_pipeline_library_jenkins_home: /var/lib/jenkins
# Hostname of the jenkins instance
jenkins_pipeline_library_jenkins_hostname: localhost
# HTTP port of the jenkins instance
jenkins_pipeline_library_jenkins_port: 8080
# Url prefix of the jenkins instance, e.g. when running in tomcat
jenkins_pipeline_library_jenkins_url_prefix: ""
# Path to the jenkins update directory
jenkins_pipeline_library_jenkins_update_dir: "{{ jenkins_pipeline_library_jenkins_home }}/updates"
# The base url of the jenkins instance
jenkins_pipeline_library_jenkins_base_url: "http://{{ jenkins_facts_jenkins_hostname }}:{{ jenkins_facts_jenkins_port }}{{ jenkins_facts_jenkins_url_prefix }}"
# Maximum seconds since the last jenkins plugin update check
jenkins_pipeline_library_updates_expiration: 86400
# Timeout for jenkins update operation
jenkins_pipeline_library_updates_timeout: 60
# When set to enable the role will log some debug information
jenkins_pipeline_library_debug: false
# Plugins and their versions that must be present for jenkins-pipeline-library
jenkins_pipeline_library_plugins_present:
- name: ace-editor
version: "1.1"
- name: analysis-model-api
version: "10.15.0"
- name: antisamy-markup-formatter
version: "2.7"
- name: apache-httpcomponents-client-4-api
version: "4.5.13-138.v4e7d9a_7b_a_e61"
- name: authentication-tokens
version: "1.4"
- name: bootstrap4-api
version: "4.6.0-5"
- name: bootstrap5-api
version: "5.1.3-7"
- name: bouncycastle-api
version: "2.26"
- name: branch-api
version: "2.1046.v0ca_37783ecc5"
- name: caffeine-api
version: "2.9.3-65.v6a_47d0f4d1fe"
- name: checks-api
version: "1.7.4"
- name: cloudbees-folder
version: "6.740.ve4f4ffa_dea_54"
- name: command-launcher
version: "84.v4a_97f2027398"
- name: config-file-provider
version: "3.11.1"
- name: configuration-as-code
version: "1512.vb_79d418d5fc8"
- name: credentials
version: "1139.veb_9579fca_33b_"
- name: credentials-binding
version: "523.vd859a_4b_122e6"
- name: dashboard-view
version: "2.447.vda_124dd35f11"
- name: data-tables-api
version: "1.12.1-2"
- name: display-url-api
version: "2.3.6"
- name: docker-workflow
version: "1.29"
- name: docker-commons
version: "1.19"
- name: durable-task
version: "496.va67c6f9eefa7"
- name: echarts-api
version: "5.3.3-1"
- name: extended-choice-parameter
version: "346.vd87693c5a_86c"
- name: email-ext
version: "2.91"
- name: font-awesome-api
version: "6.1.1-1"
- name: forensics-api
version: "1.15.1"
- name: git
version: "4.11.4"
- name: git-client
version: "3.11.2"
- name: git-server
version: "1.11"
- name: handlebars
version: "3.0.8"
- name: http_request
version: "1.16"
- name: jackson2-api
version: "2.13.3-285.vc03c0256d517"
- name: jakarta-activation-api
version: "2.0.1-1"
- name: jakarta-mail-api
version: "2.0.0-6"
- name: javadoc
version: "217.v905b_86277a_2a_"
- name: javax-activation-api
version: "1.2.0-4"
- name: javax-mail-api
version: "1.6.2-7"
- name: jaxb
version: "2.3.6-1"
- name: jdk-tool
version: "55.v1b_32b_6ca_f9ca"
- name: junit
version: "1119.1121.vc43d0fc45561"
- name: jquery
version: "1.12.4-1"
- name: jquery-detached
version: "1.2.1"
- name: jquery3-api
version: "3.6.0-4"
- name: jsch
version: "0.1.55.61.va_e9ee26616e7"
- name: managed-scripts
version: "1.5.4"
- name: mailer
version: "435.v79ef3972b_5c7"
- name: managed-scripts
version: "1.5.4"
- name: mattermost
version: "3.1.1"
- name: matrix-project
version: "772.v494f19991984"
- name: maven-plugin
version: "3.19"
- name: mina-sshd-api-common
version: "2.8.0-36.v8e25ce90d4b_1"
- name: mina-sshd-api-core
version: "2.8.0-36.v8e25ce90d4b_1"
- name: momentjs
version: "1.1.1"
- name: mqtt-notification-plugin
version: "1.8"
- name: nodejs
version: "1.5.1"
- name: Office-365-Connector
version: "4.17.0"
- name: pipeline-aggregator-view
version: "1.11"
- name: pipeline-build-step
version: "2.18"
- name: pipeline-graph-analysis
version: "195.v5812d95a_a_2f9"
- name: pipeline-groovy-lib
version: "612.v84da_9c54906d"
- name: pipeline-input-step
version: "449.v77f0e8b_845c4"
- name: pipeline-milestone-step
version: "101.vd572fef9d926"
- name: pipeline-model-definition
version: "2.2114.v2654ca_721309"
- name: pipeline-model-api
version: "2.2114.v2654ca_721309"
- name: pipeline-model-extensions
version: "2.2114.v2654ca_721309"
- name: pipeline-rest-api
version: "2.24"
- name: pipeline-stage-step
version: "293.v200037eefcd5"
- name: pipeline-stage-tags-metadata
version: "2.2114.v2654ca_721309"
- name: pipeline-stage-view
version: "2.24"
- name: pipeline-utility-steps
version: "2.13.0"
- name: plain-credentials
version: "139.ved2b_9cf7587b"
- name: plugin-util-api
version: "2.17.0"
- name: popper-api
version: "1.16.1-3"
- name: popper2-api
version: "2.11.5-2"
- name: prism-api
version: "1.28.0-2"
- name: rebuild
version: "1.34"
- name: scm-api
version: "620.v0a_5b_1f8054c0"
- name: script-security
version: "1175.v4b_d517d6db_f0"
- name: ssh-credentials
version: "295.vced876c18eb_4"
- name: ssh-steps
version: "2.0.39.v831c5e6468b_c"
- name: ssh-slaves
version: "1.834.v622da_57f702c"
- name: sshd
version: "3.242.va_db_9da_b_26a_c3"
- name: snakeyaml-api
version: "1.30.2-76.vc104f7ce9870"
- name: structs
version: "324.va_f5d6774f3a_d"
- name: token-macro
version: "308.v4f2b_ed62b_b_16"
- name: trilead-api
version: "1.71.v9e7860a_67a_df"
- name: variant
version: "59.vf075fe829ccb"
- name: warnings-ng
version: "9.15.0"
- name: workflow-api
version: "1188.v0016b_4f29881"
- name: workflow-basic-steps
version: "986.v6b_9c830a_6b_37"
- name: workflow-cps
version: "2759.v87459c4eea_ca_"
- name: workflow-cps-global-lib
version: "588.v576c103a_ff86"
- name: workflow-durable-task-step
version: "1199.v02b_9244f8064"
- name: workflow-job
version: "1207.ve6191ff089f8"
- name: workflow-multibranch
version: "716.vc692a_e52371b_"
- name: workflow-scm-step
version: "400.v6b_89a_1317c9a_"
- name: workflow-step-api
version: "639.v6eca_cd8c04a_a_"
- name: workflow-support
version: "838.va_3a_087b_4055b"
# Plugins that must be absent for jenkins-pipeline-library
jenkins_pipeline_library_plugins_absent:
- name: pipeline-model-declarative-agent
# Signatures that need to be approved for jenkins-pipeline-library
jenkins_pipeline_library_approved_signatures_present:
# enable marking stage as skipped
- staticMethod org.jenkinsci.plugins.pipeline.modeldefinition.Utils markStageSkippedForConditional java.lang.String
# whitelisting for logging package
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel ALL
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel TRACE
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel DEBUG
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel INFO
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel DEPRECATED
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel WARN
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel ERROR
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel FATAL
- staticField io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel NONE
- staticMethod io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel fromString java.lang.String
- staticMethod io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel fromInteger java.lang.Integer
- staticMethod io.wcm.devops.jenkins.pipeline.utils.logging.LogLevel $INIT java.lang.Object[]
- staticMethod io.wcm.devops.jenkins.pipeline.utils.logging.Logger getClassName java.lang.Object
- field io.wcm.devops.jenkins.pipeline.utils.logging.Logger name
- new io.wcm.devops.jenkins.pipeline.utils.logging.Logger java.lang.Object
- new io.wcm.devops.jenkins.pipeline.utils.TypeUtils
# versioning package whitelisting
- field io.wcm.devops.jenkins.pipeline.versioning.IntegerItem INTEGER_ZER0
- new io.wcm.devops.jenkins.pipeline.versioning.IntegerItem
- staticField io.wcm.devops.jenkins.pipeline.versioning.StringItem _QUALIFIERS
# native java function whitelisting
- method java.util.List indexOf java.lang.Object
- new java.util.ArrayList
# allow creation of ExtendedChoiceParameterDefinition
- new com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String boolean boolean int java.lang.String java.lang.String
- new java.text.SimpleDateFormat java.lang.String java.util.Locale
- method java.text.DateFormat parse java.lang.String
- method java.util.Calendar setTime java.util.Date
- method java.util.Calendar set int int
- staticMethod org.codehaus.groovy.runtime.DateGroovyMethods format java.util.Calendar java.lang.String
- method java.lang.Class getCanonicalName