summaryrefslogtreecommitdiffstats
path: root/jjb/ccsdk/cds.yaml
blob: 25591f837146c5ea52d53c8987ad8f6fba4e936b (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
---
- project:
    name: ccsdk-cds-java11
    project-name: 'ccsdk-cds'
    jobs:
      - gerrit-maven-verify:
          mvn-params: '-Ddocker.skip.push=true -P docker'
      - gerrit-maven-merge:
          cron: '@daily'
          mvn-params: '-Ddocker.skip.push=true -P docker'
      - gerrit-maven-stage:
          build-node: centos7-builder-4c-4g
          sign-artifacts: true
          mvn-params: '-Dmaven.test.skip=true'
          cron: ''
      - gerrit-maven-docker-stage:
          container-public-registry: 'nexus3.onap.org:10001'
          container-staging-registry: 'nexus3.onap.org:10003'
          mvn-params: '-Dmaven.test.skip=true -P docker'
          maven-versions-plugin: true
          cron: '@daily'
      - '{project-name}-gerrit-release-jobs':
          build-node: centos7-docker-8c-8g

    project: 'ccsdk/cds'
    stream:
      - 'master':
          branch: 'master'
      - 'guilin':
          branch: 'guilin'
    java-version: openjdk11
    mvn-version: 'mvn36'
    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: ubuntu1804-docker-8c-8g
    mvn-snapshot-id: 'ecomp-snapshots'
    nexus-snapshot-repo: 'snapshots'

- project:
    name: ccsdk-cds-java8
    project-name: 'ccsdk-cds'
    jobs:
      - gerrit-maven-verify:
          mvn-params: '-Ddocker.skip.push=true -P docker'
      - gerrit-maven-merge:
          cron: '@daily'
          mvn-params: '-Ddocker.skip.push=true -P docker'
      - gerrit-maven-stage:
          build-node: centos7-builder-4c-4g
          sign-artifacts: true
          mvn-params: '-Dmaven.test.skip=true'
          cron: ''
      - gerrit-maven-docker-stage:
          container-public-registry: 'nexus3.onap.org:10001'
          container-staging-registry: 'nexus3.onap.org:10003'
          mvn-params: '-Dmaven.test.skip=true -P docker'
          maven-versions-plugin: true
          cron: '@daily'

    project: 'ccsdk/cds'
    stream:
      - 'frankfurt':
          branch: 'frankfurt'
    java-version: openjdk8
    mvn-version: 'mvn36'
    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: ubuntu1804-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-api-token: '{sonarcloud_api_token}'
    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
    sonar-mvn-goal: '{sonar_mvn_goal}'
    cron: '@daily'
    build-node: ubuntu1804-builder-4c-4g
    project: 'ccsdk/cds'
    project-name: 'ccsdk-cds'
    branch: 'master'
    java-version: openjdk11
    mvn-version: 'mvn36'
    mvn-settings: 'ccsdk-cds-settings'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'

- project:
    name: ccsdk-cds-clm
    jobs:
      - gerrit-maven-clm
    nexus-iq-namespace: 'onap-'
    project: 'ccsdk/cds'
    project-name: 'ccsdk-cds'
    stream:
      - 'master':
          branch: 'master'
      - 'guilin':
          branch: 'guilin'
    java-version: openjdk11
    mvn-version: 'mvn36'
    mvn-settings: 'ccsdk-cds-settings'
    build-node: ubuntu1804-builder-4c-4g

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

- project:
    name: ccsdk-cds-whitesource
    project-name: ccsdk-cds
    jobs:
      - gerrit-whitesource-scan
    java-version: openjdk11
    mvn-version: 'mvn36'
    mvn-settings: 'ccsdk-cds-settings'
    wss-product-name: ccsdk
    mvn-clean-install: true
    project: ccsdk/cds
    branch: master