Refactor: Cleanup for pre-commit
[ci-management.git] / jjb / sdc / sdc.yaml
1 ---
2 - project:
3     name: sdc-sdc-docker-project-view
4     project-name: sdc-sdc-docker
5     views:
6       - project-view
7
8 - project:
9     name: sdc-maven-project-view
10     project-name: sdc-maven
11     views:
12       - project-view
13
14 - project:
15     name: sdc-clm-project-view
16     project-name: sdc-clm
17     views:
18       - project-view
19
20 - project:
21     name: sdc-project-view
22     project-name: sdc
23     views:
24       - project-view
25
26 - project:
27     name: sdc
28     project-name: "sdc"
29     jobs:
30       - "{project-name}-{stream}-verify-java":
31           # this build is unit test only (Verify 1/2)
32           mvn-params: "-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/"
33           build-node: "ubuntu1804-docker-8c-8g"
34       - "{project-name}-{stream}-sdc-merge-java":
35           build-node: "ubuntu1804-docker-8c-16g"
36           docker-pom: "pom.xml"
37           mvn-profile: "docker"
38           # yamllint disable-line rule:line-length
39           mvn-params: "-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/ -P integration-tests-with-helm-validator"
40           # running everything (unit tests and integration tests in a single job for merge, as we don't need // run
41           # for merge, but still saving integration tests results and report.
42           archive-artifacts: >
43             **/*.log
44             **/hs_err_*.log
45             **/target/**/feature.xml
46             **/target/failsafe-reports/failsafe-summary.xml
47             integration-tests/target/ExtentReport/API/*.html
48             integration-tests/target/ExtentReport/UI/*.html
49             integration-tests/target/ExtentReport/UI/screenshots/*.png
50       - gerrit-maven-stage:
51           build-timeout: 90
52           sign-artifacts: true
53           sbom-generator: true
54           build-node: centos8-docker-4c-4g
55           maven-versions-plugin: true
56           mvn-version: "mvn36"
57           mvn-params: "-DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/"
58       - gerrit-maven-docker-stage:
59           sbom-generator: true
60           build-node: ubuntu1804-docker-v1-8c-8g
61           maven-versions-plugin: true
62           mvn-params: "-P docker -DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/"
63           mvn-version: "mvn36"
64           container-public-registry: "nexus3.onap.org:10001"
65           container-staging-registry: "nexus3.onap.org:10003"
66       - "{project-name}-gerrit-release-jobs":
67           build-node: centos7-docker-2c-1g
68
69     project: "sdc"
70     stream:
71       - "master":
72           branch: "master"
73           java-version: openjdk11
74       - "jakarta":
75           branch: "jakarta"
76           java-version: openjdk11
77       - "kohn":
78           branch: "kohn"
79           java-version: openjdk11
80     mvn-settings: "sdc-settings"
81     files: "**"
82     archive-artifacts: ""
83     build-node: ubuntu1804-docker-8c-8g
84     maven-version: "mvn36"
85
86 - project:
87     name: sdc-sonar
88     jobs:
89       - gerrit-maven-sonar:
90           build-timeout: 120
91     sonarcloud: true
92     sonarcloud-project-organization: "{sonarcloud_project_organization}"
93     sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
94     sonar-mvn-goal: "{sonar_mvn_goal}"
95     cron: "@daily"
96     build-node: ubuntu1804-docker-8c-16g
97     project: "sdc"
98     project-name: "sdc"
99     branch: "master"
100     mvn-settings: "sdc-settings"
101     java-version: openjdk11
102     mvn-params: "-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/"
103     mvn-goals: "clean install"
104     mvn-opts: "-Xmx1024m"
105     mvn-version: "mvn36"
106
107 - project:
108     name: sdc-clm
109     jobs:
110       - gerrit-maven-clm:
111           build-timeout: 120
112           submodule-timeout: 30
113           mvn-params: "-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/"
114     nexus-iq-namespace: "onap-"
115     project: sdc
116     project-name: "sdc"
117     build-node: ubuntu1804-docker-8c-8g
118     stream:
119       - "master":
120           branch: "master"
121     mvn-version: "mvn36"
122     mvn-settings: "sdc-settings"
123     java-version: openjdk11
124
125 - project:
126     name: sdc-info
127     project-name: sdc
128     jobs:
129       - gerrit-info-yaml-verify
130     build-node: centos8-builder-2c-1g
131     project: sdc
132     branch: master