-
Notifications
You must be signed in to change notification settings - Fork 13
/
Jenkinsfile
61 lines (61 loc) · 1.41 KB
/
Jenkinsfile
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
@Library('jeap-pipelinelibrary@feature/oblique8') _
nodejsPipelineTemplate {
nodeJsVersion = 20
npmRepository = [
'repository': 'registry.npmjs.com',
'email': '[email protected]',
'userNamePasswordCredentialId': 'obliqueDeploymentUnamePassword',
'npmCredentialId': 'npmDeploymentTokenOblique'
]
branches = [
'*': [
'lint': 'npm run lint',
'test': 'npm run test-ci -ws',
'build': 'npm run build -ws',
'sonar': [
'./projects/design-system',
'./projects/cli',
'./projects/oblique',
'./projects/sandbox',
'./projects/sandbox-ssr',
'./projects/sds',
'./projects/service-navigation-web-component'
]
],
'release/major_*': [
'cloudFoundry': [
['project': 'sds', 'space': 'dev'],
['project': 'sandbox', 'space': 'dev']
]
],
'release/minor_*': [
'cloudFoundry': [
['project': 'sds', 'space': 'dev'],
['project': 'sandbox', 'space': 'dev']
]
],
'release/patch_*': [
'cloudFoundry': [
['project': 'sandbox', 'space': 'patch']
]
],
master: [
'publish': [
'./dist/oblique',
'./dist/cli',
'./dist/service-navigation-web-component'
],
'gitTag': true,
'gitPush': [
'credentialId': 'githubObliqueCredentials',
'repository': 'https://github.com/oblique-bit/oblique.git',
],
'cloudFoundry': [
['project': 'sds', 'space': 'prod']
],
securityScan: [
apps: [[project: 'sds', space: 'prod']]
]
]
]
}