forked from mwootendev/ngx-translate-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline_config.groovy
38 lines (33 loc) · 950 Bytes
/
pipeline_config.groovy
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
libraries {
core {
slack_channel = "media-management-alerts"
node_label = 'docker-builds-slave'
general = true
github_packages = true
semantic_release {
enabled = true
config_type = 'global'
name = 'ngx-translate-testing'
repository = 'safe-fleet/ngx-translate-plugins'
artifacts = 'docker'
issues = 'jira'
}
}
nodejs {
build_image = 'node:16.14.0-alpine'
build {
commands = 'npm ci,npm run build:lib:prod'
pr_commands = 'npm ci,npm run lint:lib'
}
sonarqube_analysis {
project_key = 'ngx-translate-plugins'
project_name = 'ngx-translate-plugins'
sources = 'src'
exclusions = "**/node_modules,**/src/polyfills.ts,**/*.ts,src/typings.d.ts,**/sf-theme/**,**/*.css"
coverage_exclusions = "**/*.spec.ts,**/*.module.ts,**/*.mock.ts,**/src/environments/**"
}
publish {
project_folder = 'dist/testing'
}
}
}