Merge "Migrate PORTAL to SonarCloud"
[ci-management.git] / jjb / optf / optf-osdf.yaml
1 ---
2 - project:
3     name: optf-osdf
4     project-name: 'optf-osdf'
5     project: 'optf/osdf'
6     stream:
7       - 'master':
8           branch: 'master'
9       - 'dublin':
10           branch: 'dublin'
11     mvn-settings: 'optf-osdf-settings'
12     subproject:
13       - 'osdf':
14           path: '.'
15           pattern: '**'
16           pom: 'pom.xml'
17     jobs:
18       - '{project-name}-{stream}-{subproject}-verify-python'
19       - '{project-name}-{stream}-{subproject}-merge-java'
20       - gerrit-maven-stage:
21           sign-artifacts: true
22           build-node: centos7-docker-8c-8g
23           maven-versions-plugin: true
24       - '{project-name}-gerrit-release-jobs':
25           build-node: centos7-docker-8c-8g
26       - gerrit-maven-docker-stage:
27           build-node: ubuntu1604-docker-8c-8g
28           maven-versions-plugin: true
29           container-public-registry: 'nexus3.onap.org:10001'
30           container-staging-registry: 'nexus3.onap.org:10003'
31           docker-pom: 'pom.xml'
32           mvn-goals: 'install'
33           mvn-params: '-Dmaven.test.skip=true -P docker'
34
35     files: '**'
36     archive-artifacts: ''
37     build-node: 'ubuntu1604-builder-4c-4g'
38
39 - project:
40     name: optf-osdf-docker
41     project-name: 'optf-osdf'
42     project: 'optf/osdf'
43     stream:
44       - 'master':
45           branch: 'master'
46       - 'dublin':
47           branch: 'dublin'
48     mvn-settings: 'optf-osdf-settings'
49     subproject:
50       - 'osdf':
51           path: '.'
52           pattern: '**'
53           pom: 'pom.xml'
54     jobs:
55       - '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily':
56           docker-pom: 'pom.xml'
57           mvn-goals: 'install'
58           mvn-params: '-Dmaven.test.skip=true'
59           script:
60             !include-raw-escape: 'build-optf-osdf-docker-image.sh'
61           build-node: queue-docker-4c-4g
62       - '{project-name}-{stream}-{subproject}-docker-java-shell-daily':
63           docker-pom: 'pom.xml'
64           mvn-goals: 'install'
65           mvn-params: '-Dmaven.test.skip=true'
66           script:
67             !include-raw-escape: 'build-optf-osdf-docker-image.sh'
68           build-node: queue-docker-4c-4g
69
70 - project:
71     name: optf-osdf-sonar
72     jobs:
73       - gerrit-maven-sonar
74     sonarcloud: true
75     sonarcloud-project-organization: '{sonarcloud_project_organization}'
76     sonarcloud-api-token: '{sonarcloud_api_token}'
77     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
78     sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar"
79     cron: '@daily'
80     build-node: ubuntu1604-builder-4c-4g
81     project: 'optf/osdf'
82     project-name: 'optf-osdf'
83     branch: 'master'
84     mvn-settings: 'optf-osdf-settings'
85     mvn-goals: 'clean install'
86     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
87
88 - project:
89     name: optf-osdf-clm
90     jobs:
91       - gerrit-maven-clm
92     nexus-iq-namespace: 'onap-'
93     project: optf/osdf
94     build-node: ubuntu1604-builder-4c-4g
95     project-name: 'optf-osdf'
96     stream:
97       - 'master':
98           branch: 'master'
99       - 'dublin':
100           branch: 'dublin'
101     mvn-settings: 'optf-osdf-settings'
102
103 - project:
104     name: optf-osdf-info
105     project-name: optf-osdf
106     jobs:
107       - gerrit-info-yaml-verify
108     project: optf/osdf
109     branch: master