summaryrefslogtreecommitdiffstats
path: root/jjb/sdc/sdc.yaml
blob: 2a330ed430661c9a40fec2fa4a5e2af06c86f7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
- project:
    name: sdc-sdc-docker-project-view
    project-name: sdc-sdc-docker
    views:
      - project-view

- project:
    name: sdc-maven-project-view
    project-name: sdc-maven
    views:
      - project-view

- project:
    name: sdc-clm-project-view
    project-name: sdc-clm
    views:
      - project-view

- project:
    name: sdc-project-view
    project-name: sdc
    views:
      - project-view

- project:
    name: sdc
    project-name: 'sdc'
    jobs:
      - '{project-name}-{stream}-verify-java':
          # this build is unit test only (Verify 1/2)
          mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/'
          build-node: 'ubuntu1804-docker-8c-8g'
      - '{project-name}-{stream}-sdc-merge-java':
          build-node: 'ubuntu1804-docker-8c-16g'
          docker-pom: 'pom.xml'
          mvn-profile: 'docker'
          mvn-params: '-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/ -P integration-tests-with-helm-validator'
          # running everything (unit tests and integration tests in a single job for merge, as we don't need // run
          # for merge, but still saving integration tests results and report.
          archive-artifacts: >
              **/*.log
              **/hs_err_*.log
              **/target/**/feature.xml
              **/target/failsafe-reports/failsafe-summary.xml
              integration-tests/target/ExtentReport/API/*.html
              integration-tests/target/ExtentReport/UI/*.html
              integration-tests/target/ExtentReport/UI/screenshots/*.png
      - gerrit-maven-stage:
          build-timeout: 90
          sign-artifacts: true
          sbom-generator: true
          build-node: centos7-builder-4c-4g
          maven-versions-plugin: true
          mvn-version: 'mvn36'
          mvn-params: '-DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/'
      - gerrit-maven-docker-stage:
          sbom-generator: true
          build-node: ubuntu1804-docker-v1-8c-8g
          maven-versions-plugin: true
          mvn-params: '-P docker -DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/'
          mvn-version: 'mvn36'
          container-public-registry: 'nexus3.onap.org:10001'
          container-staging-registry: 'nexus3.onap.org:10003'
      - '{project-name}-gerrit-release-jobs':
          build-node: centos7-docker-8c-8g

    project: 'sdc'
    stream:
      - 'master':
          branch: 'master'
          java-version: openjdk11
      - 'jakarta':
          branch: 'jakarta'
          java-version: openjdk11
      - 'kohn':
          branch: 'kohn'
          java-version: openjdk11
    mvn-settings: 'sdc-settings'
    files: '**'
    archive-artifacts: ''
    build-node: ubuntu1804-docker-8c-8g
    maven-version: 'mvn36'

- project:
    name: sdc-sonar
    jobs:
      - gerrit-maven-sonar:
          build-timeout: 120
    sonarcloud: true
    sonarcloud-project-organization: '{sonarcloud_project_organization}'
    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
    sonar-mvn-goal: '{sonar_mvn_goal}'
    cron: '@daily'
    build-node: ubuntu1804-docker-8c-16g
    project: 'sdc'
    project-name: 'sdc'
    branch: 'master'
    mvn-settings: 'sdc-settings'
    java-version: openjdk11
    mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m'
    mvn-version: 'mvn36'

- project:
    name: sdc-clm
    jobs:
      - gerrit-maven-clm:
          build-timeout: 120
          submodule-timeout: 30
          mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/'
    nexus-iq-namespace: 'onap-'
    project: sdc
    project-name: 'sdc'
    build-node: ubuntu1804-docker-8c-8g
    stream:
      - 'master':
          branch: 'master'
    mvn-version: 'mvn36'
    mvn-settings: 'sdc-settings'
    java-version: openjdk11

- project:
    name: sdc-info
    project-name: sdc
    jobs:
      - gerrit-info-yaml-verify
    build-node: centos7-builder-2c-1g
    project: sdc
    branch: master