summaryrefslogtreecommitdiffstats
path: root/jjb/dcaegen2/dcaegen2-utils.yaml
blob: 624f74dd16d93fe1514d5a0ee1ea417eab099310 (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
---
- project:
    name: dcaegen2-utils
    project-name: 'dcaegen2-utils'
    python-version: python3

    jobs:
      - '{project-name}-{stream}-verify-java'
      - '{project-name}-{stream}-merge-java'
      - '{project-name}-{stream}-release-version-java-daily'

    project: 'dcaegen2/utils'
    stream:
      - 'master':
          branch: 'master'
      - 'honolulu':
          branch: 'honolulu'
      - 'istanbul':
          branch: 'istanbul'
    mvn-settings: 'dcaegen2-utils-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'

- project:
    name: dcaegen2-utils-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-docker-8c-8g
    project: 'dcaegen2/utils'
    project-name: 'dcaegen2-utils'
    branch: 'master'
    mvn-settings: 'dcaegen2-utils-settings'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'

- project:
    name: dcaegen2-utils-clm
    jobs:
      - gerrit-maven-clm
    nexus-iq-namespace: 'onap-'
    project: dcaegen2/utils
    build-node: ubuntu1804-docker-8c-8g
    project-name: 'dcaegen2-utils'
    branch: 'master'
    mvn-settings: 'dcaegen2-utils-settings'

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

- cbs_client_pypi_common: &cbs_client_pypi_common
    name: cbs-client-pypi-common
    # jenkins job prefix
    project-name: dcaegen2-platform-cbs-client
    # git repo
    project: dcaegen2/utils
    # push credentials
    mvn-settings: dcaegen2-utils-settings
    # requires centos to sign release
    build-node: centos7-builder-2c-1g
    tox-dir: onap-dcae-cbs-docker-client
    stream:
      - master:
          branch: master

- project:
    name: dcaegen2-platform-cbs-client-pypi-build
    <<: *cbs_client_pypi_common
    gerrit_trigger_file_paths:
      - compare-type: REG_EXP
        pattern: 'onap-dcae-cbs-docker-client/{name}/.*'
    jobs:
      - gerrit-pypi-verify
      - gerrit-pypi-merge:
          pypi-repo: pypi-test

- project:
    name: dcaegen2-platform-cbs-client-pypi-release
    <<: *cbs_client_pypi_common
    jobs:
      - gerrit-pypi-release-verify
      - gerrit-pypi-release-merge