summaryrefslogtreecommitdiffstats
path: root/jjb/dcaegen2/dcaegen2-services-pm-subscription-handler.yaml
blob: 7a845453f99e0c12eca3e68617b9f427d8ab625b (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
---
- dcaegen2_services_common: &dcaegen2_services_common
    # values apply to all dcaegen2_services docker projects
    name: dcaegen2-services-docker-common
    project: dcaegen2/services
    # maven settings file has docker credentials
    mvn-settings: dcaegen2-services-settings
    # use host network to clone from our gerrit
    container-tag-method: latest
    build-node: ubuntu1604-docker-8c-8g
    # jenkins job name prefix
    project-name: '{name}'
    tox-dir: '{docker-root}'
    # build only on relevant changes
    gerrit_trigger_file_paths:
      - compare-type: REG_EXP
        pattern: '{docker-root}/.*'

- project:
    <<: *dcaegen2_services_common
    name: dcaegen2-services-pmsh
    # root of docker build
    docker-root: components/pm-subscription-handler
    # tag override
    # Following is dependent on merge https://gerrit.onap.org/r/#/c/ci-management/+/99313/
    # docker-get-container-tag-script: '../../shell/docker-ts-tag-override.sh'
    # image name
    docker-name: 'onap/{name}'
    stream:
      - master:
            branch: master
    jobs:
      - gerrit-docker-verify
      - gerrit-docker-merge

- project:
    <<: *dcaegen2_services_common
    name: dcaegen2-services-pmsh-verify
    docker-root: components/pm-subscription-handler
    stream:
      - all:
            branch: '*'
    jobs:
      - gerrit-tox-verify

- project:
    <<: *dcaegen2_services_common
    name: dcaegen2-services-pmsh-sonar
    docker-root: components/pm-subscription-handler
    branch: master
    jobs:
      - gerrit-tox-sonar
    cron: '@daily'

- project:
    <<: *dcaegen2_services_common
    docker-root: components/pm-subscription-handler
    name: dcaegen2-services-pmsh-release
    project-name: dcaegen2-services-pmsh-release
    jobs:
      - '{project-name}-gerrit-release-jobs':
              build-node: centos7-docker-8c-8g
    stream:
      - 'master':
          branch: master
    maven-deploy-properties: |
      deployAtEnd=true
    files: '**'
    archive-artifacts: ''

- project:
    <<: *dcaegen2_services_common
    name: dcaegen2-services-pmsh-clm
    docker-root: components/pm-subscription-handler
    jobs:
      - gerrit-maven-clm
    nexus-iq-namespace: 'onap-'
    project-name: 'dcaegen2-services-pmsh-clm'
    mvn-params: '-f components/pm-subscription-handler/pom.xml'
    branch: 'master'