summaryrefslogtreecommitdiffstats
path: root/jjb/sdnc/sdnc-apps.yaml
blob: 6f725453a7e2aa7adee60f8b821a3555dd06045f (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
---
- project:
    name: sdnc-project-view
    project-name: sdnc
    views:
      - project-view

- project:
    name: sdnc-apps-java11
    project-name: "sdnc-apps"
    jobs:
      - gerrit-maven-verify:
          build-node: ubuntu1804-docker-8c-8g
          container-public-registry: "nexus3.onap.org:10001"
          container-staging-registry: "nexus3.onap.org:10003"
          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:
          build-node: ubuntu1804-docker-8c-8g
          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: "sdnc/apps"
    stream:
      - "montreal":
          branch: "montreal"
    java-version: openjdk11
    mvn-version: "mvn38"
    mvn-settings: "sdnc-apps-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: ""
    maven-version: "mvn38"
    build-node: ubuntu1804-builder-4c-4g
    mvn-snapshot-id: "ecomp-snapshots"
    nexus-snapshot-repo: "snapshots"

- project:
    name: sdnc-apps-java17
    project-name: "sdnc-apps"
    jobs:
      - gerrit-maven-verify:
          build-node: ubuntu1804-docker-8c-8g
          container-public-registry: "nexus3.onap.org:10001"
          container-staging-registry: "nexus3.onap.org:10003"
          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"
          build-node: ubuntu1804-docker-8c-8g
          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: "sdnc/apps"
    stream:
      - "newdelhi":
          branch: "newdelhi"
      - "master":
          branch: "master"
    java-version: openjdk17
    mvn-version: "mvn38"
    mvn-settings: "sdnc-apps-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: ""
    maven-version: "mvn38"
    build-node: ubuntu1804-builder-4c-4g
    mvn-snapshot-id: "ecomp-snapshots"
    nexus-snapshot-repo: "snapshots"

- project:
    name: sdnc-apps-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: ubuntu1804-builder-4c-4g
    project: "sdnc/apps"
    project-name: "sdnc-apps"
    branch: "master"
    java-version: openjdk17
    mvn-version: "mvn38"
    mvn-settings: "sdnc-apps-settings"
    mvn-goals: "clean install"
    mvn-opts: "-Xmx1024m"
    maven-version: "mvn38"

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