blob: 9a3169278a4011e41128654a1664aed92b966a07 [file] [log] [blame]
LF Jenkins CI9ba2efa2020-03-12 19:43:51 +00001---
2- project:
3 name: portal-nonrtric-controlpanel-project-view
4 project-name: portal-nonrtric-controlpanel
5 views:
6 - project-view
7
8- project:
9 name: portal-nonrtric-controlpanel-info
10 project: portal/nonrtric-controlpanel
11 project-name: portal-nonrtric-controlpanel
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
YongchaoWu95b39b02020-03-19 15:40:42 +010015
16- portal_nonrtric_controlpanel_common: &portal_nonrtric_controlpanel_common
17 # values apply to all projects here
18 name: portal-nonrtric-controlpanel-common
19 # git repo
20 project: portal/nonrtric-controlpanel
21 # jenkins job name prefix
22 project-name: portal-nonrtric-controlpanel
23 # maven settings file has docker credentials
24 mvn-settings: portal-nonrtric-controlpanel-settings
25 # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
26 java-version: openjdk11
27 mvn-version: mvn36
28
29- project:
30 <<: *portal_nonrtric_controlpanel_common
31 mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
32 jobs:
33 - "{project-name}-gerrit-maven-docker-jobs"
34 stream:
35 - master:
36 branch: master
37
38- project:
39 <<: *portal_nonrtric_controlpanel_common
40 name: portal-nonrtric-controlpanel-release
41 # maven release requires sigul which requires centos
42 # container release requires docker
43 build-node: centos7-docker-2c-8g
44 jobs:
45 - '{project-name}-gerrit-release-jobs'
46
47- project:
48 <<: *portal_nonrtric_controlpanel_common
49 name: portal-nonrtric-controlpanel-sonar
50 # template goal install builds docker image unnecessarily
51 mvn-params: -Ddocker.skip=true
52 sonarcloud: true
53 sonarcloud-api-token: '{sonarcloud_api_token}'
54 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
55 sonarcloud-project-organization: '{sonarcloud_project_organization}'
56 jobs:
57 - gerrit-maven-sonar