efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 1 | --- |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame] | 2 | - dcaegen2_services_common: &dcaegen2_services_common |
| 3 | # values apply to all dcaegen2_services docker projects |
| 4 | name: dcaegen2-services-docker-common |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 5 | project: dcaegen2/services |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame] | 6 | # maven settings file has docker credentials |
| 7 | mvn-settings: dcaegen2-services-settings |
| 8 | # use host network to clone from our gerrit |
| 9 | container-tag-method: latest |
| 10 | build-node: ubuntu1604-docker-8c-8g |
| 11 | # jenkins job name prefix |
| 12 | project-name: '{name}' |
| 13 | tox-dir: '{docker-root}' |
| 14 | # build only on relevant changes |
| 15 | gerrit_trigger_file_paths: |
| 16 | - compare-type: REG_EXP |
| 17 | pattern: '{docker-root}/.*' |
| 18 | |
| 19 | - project: |
| 20 | <<: *dcaegen2_services_common |
| 21 | name: dcaegen2-services-pmsh |
| 22 | # root of docker build |
| 23 | docker-root: components/pm-subscription-handler |
| 24 | # tag override |
| 25 | # Following is dependent on merge https://gerrit.onap.org/r/#/c/ci-management/+/99313/ |
| 26 | # docker-get-container-tag-script: '../../shell/docker-ts-tag-override.sh' |
| 27 | # image name |
| 28 | docker-name: 'onap/{name}' |
| 29 | stream: |
| 30 | - master: |
| 31 | branch: master |
| 32 | jobs: |
| 33 | - gerrit-docker-verify |
| 34 | - gerrit-docker-merge |
| 35 | |
| 36 | - project: |
| 37 | <<: *dcaegen2_services_common |
| 38 | name: dcaegen2-services-pmsh-verify |
| 39 | docker-root: components/pm-subscription-handler |
| 40 | stream: |
| 41 | - all: |
| 42 | branch: '*' |
| 43 | jobs: |
| 44 | - gerrit-tox-verify |
| 45 | |
| 46 | - project: |
| 47 | <<: *dcaegen2_services_common |
| 48 | name: dcaegen2-services-pmsh-sonar |
| 49 | docker-root: components/pm-subscription-handler |
rajendrajaiswal | 6ef9f75 | 2020-02-17 13:37:13 +0000 | [diff] [blame] | 50 | cron: '@daily' |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame] | 51 | branch: master |
| 52 | jobs: |
rajendrajaiswal | 6ef9f75 | 2020-02-17 13:37:13 +0000 | [diff] [blame] | 53 | - gerrit-tox-sonar: |
rajendrajaiswal | 0dfb935 | 2020-02-21 12:32:47 +0000 | [diff] [blame] | 54 | sonar-mvn-goal: '-f components/pm-subscription-handler/pom.xml sonar:sonar' |
rajendrajaiswal | 6ef9f75 | 2020-02-17 13:37:13 +0000 | [diff] [blame] | 55 | |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame] | 56 | |
| 57 | - project: |
| 58 | <<: *dcaegen2_services_common |
| 59 | docker-root: components/pm-subscription-handler |
| 60 | name: dcaegen2-services-pmsh-release |
efiacor | c795dc3 | 2019-12-03 10:32:57 +0000 | [diff] [blame] | 61 | project-name: dcaegen2-services-pmsh-release |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 62 | jobs: |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 63 | - '{project-name}-gerrit-release-jobs': |
| 64 | build-node: centos7-docker-8c-8g |
| 65 | stream: |
| 66 | - 'master': |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 67 | branch: master |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 68 | maven-deploy-properties: | |
| 69 | deployAtEnd=true |
| 70 | files: '**' |
| 71 | archive-artifacts: '' |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 72 | |
| 73 | - project: |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame] | 74 | <<: *dcaegen2_services_common |
| 75 | name: dcaegen2-services-pmsh-clm |
| 76 | docker-root: components/pm-subscription-handler |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 77 | jobs: |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame] | 78 | - gerrit-maven-clm |
| 79 | nexus-iq-namespace: 'onap-' |
| 80 | project-name: 'dcaegen2-services-pmsh-clm' |
efiacor | c795dc3 | 2019-12-03 10:32:57 +0000 | [diff] [blame] | 81 | mvn-params: '-f components/pm-subscription-handler/pom.xml' |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame] | 82 | branch: 'master' |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 83 | |