blob: d030a5910232f3a08dd4b12b17944b722bf32ff5 [file] [log] [blame]
YongchaoWu3072a9d2019-11-07 20:27:07 +01001---
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
Aric Gardnerda252d22019-10-11 16:10:03 -040012 build-node: centos7-builder-1c-1g
YongchaoWu3072a9d2019-11-07 20:27:07 +010013 jobs:
14 - gerrit-info-yaml-verify
YongchaoWuba898322019-11-12 12:15:03 +010015
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:
wrider7f7c1c72019-11-19 00:13:13 -050038 branch: master
39
elinuxhenrike2c327b2020-05-29 09:48:09 +020040# 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
wrider7f7c1c72019-11-19 00:13:13 -050066- 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'
Lott, Christopher (cl778h)e691a222020-02-07 05:23:20 -050075
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