-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins.yaml
94 lines (94 loc) · 2.23 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
---
jenkins:
systemMessage: "Jenkins As Code"
views:
- myView:
name: "Jobs Config as Code"
clouds:
- docker:
disabled:
disabledByChoice: true
enabledByChoice: false
dockerApi:
connectTimeout: 60
dockerHost:
uri: "tcp://socat:2375"
readTimeout: 60
name: "docker"
security:
globalJobDslSecurityConfiguration:
useScriptSecurity: false
credentials:
system:
domainCredentials:
- credentials:
- vaultAppRoleCredential:
description: "vault"
id: "vault"
path: "approle"
roleId: "${VAULT_APPROLE}"
scope: GLOBAL
secretId: "${VAULT_APPROLE_SECRET}"
unclassified:
bitbucketEndpointConfiguration:
endpoints:
- bitbucketCloudEndpoint:
enableCache: false
manageHooks: false
repositoriesCacheDuration: 0
teamCacheDuration: 0
buildDiscarders:
configuredBuildDiscarders:
- "jobBuildDiscarder"
fingerprints:
fingerprintCleanupDisabled: false
storage: "file"
gitHubConfiguration:
apiRateLimitChecker: ThrottleForNormalize
gitHubPluginConfig:
hookUrl: "https://jenkins.test/github-webhook/"
gitSCM:
allowSecondFetch: false
createAccountBasedOnEmail: false
disableGitToolChooser: false
hideCredentials: false
showEntireCommitSummaryInChanges: false
useExistingAccountWithSameEmail: false
junitTestResultStorage:
storage: "file"
location:
adminAddress: "kostua.p@gmail.com"
url: "https://jenkins.test/"
mailer:
charset: "UTF-8"
useSsl: false
useTls: false
pollSCM:
pollingThreadCount: 10
tool:
git:
installations:
- home: "git"
name: "Default"
jobs:
- script: >
freeStyleJob('JobsGenerator') {
triggers {
hudsonStartupTrigger {
quietPeriod("60")
runOnChoice("ON_CONNECT")
label("")
nodeParameterName("")
}
}
scm {
github('Kostua/jenkins_as_code_jobs', 'master')
}
steps {
dsl {
external('*.groovy')
}
}
}
- script: >
queue('JobsGenerator')