generated from cloudbees-days/cloudbees-ci-config-bundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
jenkins.yaml
52 lines (52 loc) · 1.5 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
cloudbees-pipeline-policies:
config:
policies:
- action: "fail"
name: "Timeout policy"
rules:
- entirePipelineTimeoutRule:
maxTime: 60
jenkins:
quietPeriod: 0
systemMessage: 'Jenkins configured using CloudBees CI CasC - v4'
unclassified:
hibernationConfiguration:
activities:
- "build"
- "web"
enabled: true
gracePeriod: 1500
gitHubConfiguration:
apiRateLimitChecker: ThrottleForNormalize
gitHubPluginConfig:
hookSecretConfigs:
- credentialsId: "cloudbees-ci-workshop-github-webhook-secret"
globalDefaultFlowDurabilityLevel:
durabilityHint: PERFORMANCE_OPTIMIZED
globallibraries:
libraries:
- defaultVersion: "module-2"
name: "pipeline-library"
retriever:
modernSCM:
scm:
github:
credentialsId: "cloudbees-ci-workshop-github-app"
repoOwner: "cje-ci"
repository: "pipeline-library"
credentials:
system:
domainCredentials:
- credentials:
- string:
description: "Webhook secret for CloudBees CI Workshop GitHub App"
id: "cloudbees-ci-workshop-github-webhook-secret"
scope: SYSTEM
secret: "${gitHubWebhookSecret}"
- gitHubApp:
apiUri: "https://api.github.com"
appID: "${gitHubAppId}"
description: "CloudBees CI Workshop GitHub App credential"
id: "cloudbees-ci-workshop-github-app"
owner: "cje-ci"
privateKey: "${gitHubAppPrivateKey}"