Merge "Deployment Maven artifacts nonrtric-control-panel"
[ci-management.git] / jjb / nonrtric / nonrtric.yaml
1 ---
2 - project:
3     name: nonrtric-project-view
4     project-name: nonrtric
5     views:
6       - project-view
7
8 - project:
9     name: nonrtric-info
10     project: nonrtric
11     project-name: nonrtric
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - nonrtric_jdk11: &nonrtric_jdk11
17     # values apply to all projects here
18     name: nonrtric-jdk11
19     # git repo
20     project: nonrtric
21     # jenkins job name prefix
22     project-name: nonrtric
23     # maven settings file has docker credentials
24     mvn-settings: nonrtric-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     <<: *nonrtric_jdk11
31     mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
32     jobs:
33       - gerrit-maven-docker-verify
34       - gerrit-maven-docker-merge
35       - gerrit-maven-docker-stage
36     stream:
37       - master:
38           branch: master
39
40 # nonrtric:policy-agent
41 # common for artifacts for nonrtric-policy-agent
42 - nonrtric_policy_agent_common: &nonrtric_policy_agent_common
43     name: nonrtric-policy-agent-common
44     project-name: nonrtric-policy-agent
45     mvn-opts: '-Ddocker.skip=true'
46     mvn-params: '-f policy-agent'
47     gerrit_trigger_file_paths:
48       - compare-type: REG_EXP
49         pattern: 'policy-agent/.*'
50
51 # build feature artifacts for nonrtric-policy-agent
52 - project:
53     <<: *nonrtric_jdk11
54     <<: *nonrtric_policy_agent_common
55     name: nonrtric-policy-agent
56     build-node: ubuntu1804-builder-4c-4g
57     jobs:
58       - gerrit-maven-verify
59       - gerrit-maven-merge
60       - gerrit-maven-stage
61       - gerrit-maven-clm
62     stream:
63       - master:
64           branch: master
65
66 - project:
67     <<: *nonrtric_jdk11
68     name: nonrtric-release
69     branch: master
70     # maven release requires sigul which requires centos
71     # container release requires docker
72     build-node: centos7-docker-2c-8g
73     jobs:
74       - '{project-name}-gerrit-release-jobs'
75
76 - project:
77     <<: *nonrtric_jdk11
78     name: nonrtric-sonar
79     # template goal install builds docker image unnecessarily
80     mvn-params: -Ddocker.skip=true
81     sonarcloud: true
82     sonarcloud-api-token: '{sonarcloud_api_token}'
83     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
84     sonarcloud-project-organization: '{sonarcloud_project_organization}'
85     jobs:
86       - gerrit-maven-sonar