forked from beedemo/cje-mm
-
Notifications
You must be signed in to change notification settings - Fork 9
/
config-as-code.yml
91 lines (91 loc) · 2.33 KB
/
config-as-code.yml
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
jenkins:
agentProtocols:
- "Diagnostic-Ping"
- "JNLP4-connect"
- "OperationsCenter2"
- "Ping"
crumbIssuer:
standard:
excludeClientIPFromCrumb: false
disableRememberMe: false
markupFormatter:
rawHtml:
disableSyntaxHighlighting: true
numExecutors: 0
unclassified:
artifactManager:
artifactManagerFactories:
- jclouds:
provider: s3
githubpluginconfig:
configs:
- name: "GitHub - CloudBees Days"
credentialsId: "cbdays-github-token-secret"
manageHooks: true
globallibraries:
libraries:
- defaultVersion: "master"
name: "cb-days"
retriever:
modernSCM:
scm:
github:
credentialsId: "cbdays-github-token"
repoOwner: "cloudbees-days"
repository: "pipeline-library"
slackNotifier:
teamDomain: beedemo-team
tokenCredentialId: beedemo-slack
room: "#ci"
aws:
s3:
container: "cd-accel"
prefix: "cb-core/artifacts/"
kube:
podTemplatesConfiguration:
templates:
- name: nodejs-app
label: nodejs-app
nodeUsageMode: EXCLUSIVE
containers:
- name: nodejs
image: node:8.12.0-alpine
ttyEnabled: true
command: /bin/sh -c
args: "cat"
- name: jdk10
label: jdk10
nodeUsageMode: EXCLUSIVE
containers:
- name: jdk10
image: openjdk:10-jdk-slim-sid
ttyEnabled: true
command: /bin/sh -c
args: "cat"
- name: jdk8
label: jdk8
nodeUsageMode: EXCLUSIVE
containers:
- name: jdk8
image: openjdk:8-jdk-slim
ttyEnabled: true
command: /bin/sh -c
args: "cat"
credentials:
system:
domainCredentials:
- domain :
name: "github.com"
description: "GitHub"
credentials:
- string:
scope: GLOBAL
id: cbdays-github-token-secret
description: "GitHub PAT for beedemo-ops from JCasC - secret text"
secret: ${github-ops-token}
- usernamePassword:
scope: GLOBAL
id: cbdays-github-token
description: "GitHub PAT for beedemo-ops from JCasC"
username: beedemo-ops
password: ${github-ops-token}