summaryrefslogtreecommitdiffstats
path: root/jjb/cps/cps.yaml
blob: 2d91380a6794244e56a8ae1499f533a36e84f36b (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
---
- project:
    name: cps-project-view
    project-name: cps
    views:
      - project-view

- project:
    name: cps-clm
    java-version: openjdk17
    mvn-version: "mvn36"
    maven-version: "mvn36"
    jobs:
      - gerrit-maven-clm
    nexus-iq-namespace: "onap-"
    project: "cps"
    project-name: "cps"
    branch: "master"
    mvn-settings: "cps-settings"
    build-node: centos8-docker-8c-8g

- project:
    name: cps-java11
    java-version: openjdk11
    mvn-version: "mvn36"
    maven-version: "mvn36"
    project-name: "cps"
    project: "cps"
    jobs:
      - "{project-name}-{stream}-verify-java"
      - "{project-name}-{stream}-merge-java":
          docker-pom: "pom.xml"
          mvn-params: "-P cps-ncmp-docker"
      - gerrit-maven-stage:
          sign-artifacts: true
          build-node: centos8-docker-8c-8g
          maven-versions-plugin: true
          sbom-generator: true
      - gerrit-maven-docker-stage:
          build-node: centos8-docker-8c-8g
          maven-versions-plugin: true
          mvn-params: "-P cps-ncmp-docker"
          container-public-registry: "nexus3.onap.org:10001"
          container-staging-registry: "nexus3.onap.org:10003"
      - "{project-name}-gerrit-release-jobs":
          build-node: centos7-docker-2c-1g
    stream:
      - "kohn":
          branch: "kohn"
          cron: ""
      - "london":
          branch: "london"
          cron: ""
    mvn-settings: "cps-settings"
    files: "**"
    archive-artifacts: ""
    build-node: centos8-docker-8c-8g

- project:
    name: cps-java17
    java-version: openjdk17
    mvn-version: "mvn36"
    maven-version: "mvn36"
    project-name: "cps"
    project: "cps"
    jobs:
      - "{project-name}-{stream}-verify-java"
      - "{project-name}-{stream}-merge-java":
          docker-pom: "pom.xml"
          mvn-params: "-P cps-ncmp-docker"
      - gerrit-maven-stage:
          sign-artifacts: true
          build-node: centos8-docker-8c-8g
          maven-versions-plugin: true
          sbom-generator: true
      - gerrit-maven-docker-stage:
          build-node: centos8-docker-8c-8g
          maven-versions-plugin: true
          mvn-params: "-P cps-ncmp-docker"
          container-public-registry: "nexus3.onap.org:10001"
          container-staging-registry: "nexus3.onap.org:10003"
      - "{project-name}-gerrit-release-jobs":
          build-node: centos7-docker-2c-1g
    stream:
      - "master":
          branch: "master"
    mvn-settings: "cps-settings"
    files: "**"
    archive-artifacts: ""
    build-node: centos8-docker-8c-8g

- project:
    name: cps-sonar
    java-version: openjdk17
    mvn-version: "mvn36"
    maven-version: "mvn36"
    jobs:
      - gerrit-maven-sonar
    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: centos8-docker-8c-8g
    project: "cps"
    project-name: "cps"
    branch: "master"
    mvn-settings: "cps-settings"
    mvn-goals: "clean install"

- project:
    name: cps-sonar-verify
    java-version: openjdk17
    mvn-version: "mvn36"
    maven-version: "mvn36"
    jobs:
      - gerrit-maven-sonar-verify
    sonarcloud: true
    sonarcloud-project-organization: "{sonarcloud_project_organization}"
    sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
    sonarcloud-qualitygate-wait: true
    sonar-mvn-goal: "{sonar_mvn_goal}"
    build-node: centos8-docker-8c-8g
    project: "cps"
    project-name: "cps"
    branch: "master"
    mvn-settings: "cps-settings"
    mvn-goals: "clean install"