summaryrefslogtreecommitdiffstats
path: root/jjb/ccsdk/cds.yaml
blob: 37fdd144be6bddb1d6d1c647ecd567132151219e (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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
---
- project:
    name: ccsdk-cds-java11
    project-name: "ccsdk-cds"
    jobs:
      - gerrit-maven-verify:
          mvn-params: "-Ddocker.skip.push=true -Pdocker"
      - gerrit-maven-merge:
          mvn-params: "-Dmaven.test.skip=true"
      - gerrit-maven-stage:
          build-node: centos8-docker-8c-8g
          sign-artifacts: true
          mvn-params: "-Dmaven.test.skip=true"
          cron: ""
          sbom-generator: true
      - gerrit-maven-docker-stage:
          container-public-registry: "nexus3.onap.org:10001"
          container-staging-registry: "nexus3.onap.org:10003"
          mvn-params: "-Dmaven.test.skip=true -Pdocker"
          maven-versions-plugin: true
      - "{project-name}-gerrit-release-jobs":
          build-node: centos7-docker-2c-1g

    project: "ccsdk/cds"
    stream:
      - "kohn":
          branch: "kohn"
    java-version: openjdk11
    mvn-version: "mvn38"
    mvn-settings: "ccsdk-cds-settings"
    # due to a strange macro / variable translation problem this needs to be
    # passed as a string block to properly get the properties correctly defined
    # in the job
    maven-deploy-properties: |
      deployAtEnd=true
    files: "**"
    archive-artifacts: ""
    build-node: centos8-docker-8c-8g
    mvn-snapshot-id: "ecomp-snapshots"
    nexus-snapshot-repo: "snapshots"

- project:
    name: ccsdk-cds-released-java17
    project-name: "ccsdk-cds"
    jobs:
      - gerrit-maven-verify:
          mvn-params: "-Ddocker.skip.push=true -Pdocker"
      - gerrit-maven-merge:
          mvn-params: "-Dmaven.test.skip=true"
      - gerrit-maven-stage:
          build-node: centos8-docker-8c-8g
          sign-artifacts: true
          mvn-params: "-Dmaven.test.skip=true"
          cron: ""
          sbom-generator: true
      - gerrit-maven-docker-stage:
          container-public-registry: "nexus3.onap.org:10001"
          container-staging-registry: "nexus3.onap.org:10003"
          mvn-params: "-Dmaven.test.skip=true -Pdocker"
          maven-versions-plugin: true
      - "{project-name}-gerrit-release-jobs":
          build-node: centos7-docker-2c-1g

    project: "ccsdk/cds"
    stream:
      - "montreal":
          branch: "montreal"
      - "london":
          branch: "london"
    java-version: openjdk17
    mvn-version: "mvn38"
    mvn-settings: "ccsdk-cds-settings"
    # due to a strange macro / variable translation problem this needs to be
    # passed as a string block to properly get the properties correctly defined
    # in the job
    maven-deploy-properties: |
      deployAtEnd=true
    files: "**"
    archive-artifacts: ""
    build-node: centos8-docker-8c-8g
    mvn-snapshot-id: "ecomp-snapshots"
    nexus-snapshot-repo: "snapshots"

- project:
    name: ccsdk-cds-current-java17
    project-name: "ccsdk-cds"
    jobs:
      - gerrit-maven-verify:
          mvn-params: "-Ddocker.skip.push=true -Pdocker"
      - gerrit-maven-merge:
          cron: "@daily"
          mvn-params: "-Dmaven.test.skip=true"
      - gerrit-maven-stage:
          build-node: centos8-docker-8c-8g
          sign-artifacts: true
          mvn-params: "-Dmaven.test.skip=true"
          cron: ""
          sbom-generator: true
      - gerrit-maven-docker-stage:
          cron: "@daily"
          container-public-registry: "nexus3.onap.org:10001"
          container-staging-registry: "nexus3.onap.org:10003"
          mvn-params: "-Dmaven.test.skip=true -Pdocker"
          maven-versions-plugin: true
      - "{project-name}-gerrit-release-jobs":
          build-node: centos7-docker-2c-1g

    project: "ccsdk/cds"
    stream:
      - "master":
          branch: "master"
    java-version: openjdk17
    mvn-version: "mvn38"
    mvn-settings: "ccsdk-cds-settings"
    # due to a strange macro / variable translation problem this needs to be
    # passed as a string block to properly get the properties correctly defined
    # in the job
    maven-deploy-properties: |
      deployAtEnd=true
    files: "**"
    archive-artifacts: ""
    build-node: centos8-docker-8c-8g
    mvn-snapshot-id: "ecomp-snapshots"
    nexus-snapshot-repo: "snapshots"

- project:
    name: ccsdk-cds-sonar
    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}"
    build-node: centos8-builder-4c-4g
    project: "ccsdk/cds"
    project-name: "ccsdk-cds"
    branch: "master"
    java-version: openjdk17
    mvn-version: "mvn38"
    mvn-settings: "ccsdk-cds-settings"
    mvn-goals: "clean install"
    mvn-opts: "-Xmx1024m"

- project:
    name: ccsdk-cds-clm
    jobs:
      - gerrit-maven-clm
    nexus-iq-namespace: "onap-"
    project: "ccsdk/cds"
    project-name: "ccsdk-cds"
    stream:
      - "master":
          branch: "master"
    java-version: openjdk17
    mvn-version: "mvn38"
    mvn-settings: "ccsdk-cds-settings"
    mvn-opts: "--add-opens=java.base/java.util=ALL-UNNAMED"
    build-node: centos8-builder-4c-4g