Kailash Khalasi | 3727e31 | 2018-05-31 13:10:16 -0700 | [diff] [blame] | 1 | --- |
| 2 | # voltha-gerrit |
| 3 | |
| 4 | - project: |
| 5 | name: voltha-gerrit |
| 6 | |
| 7 | project-name: '{name}' |
| 8 | |
| 9 | jobs: |
| 10 | - 'voltha-gerrit' |
| 11 | |
| 12 | |
| 13 | - job-template: |
| 14 | id: 'voltha-gerrit' |
| 15 | name: 'voltha-gerrit' |
| 16 | |
| 17 | description: | |
| 18 | Created by {id} job-template from ci-management/jjb/voltha-gerrit.yaml |
| 19 | |
| 20 | triggers: |
| 21 | - cord-infra-gerrit-trigger-patchset: |
| 22 | gerrit-server-name: '{gerrit-server-name}' |
| 23 | project-regexp: 'voltha' |
| 24 | branch-regexp: '{supported-branches-regexp}' |
| 25 | dependency-jobs: '' |
| 26 | file-include-regexp: '' |
| 27 | |
| 28 | properties: |
| 29 | - cord-infra-properties: |
| 30 | build-days-to-keep: '{build-days-to-keep}' |
| 31 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 32 | |
| 33 | wrappers: |
| 34 | - lf-infra-wrappers: |
| 35 | build-timeout: 20 |
| 36 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 37 | |
| 38 | scm: |
Kailash Khalasi | 785ee37 | 2018-06-26 12:35:30 -0700 | [diff] [blame] | 39 | - cord-infra-gerrit-repo-scm: |
| 40 | manifest-url: '{gerrit-server-url}/{cord-repo-manifest}' |
Kailash Khalasi | 3727e31 | 2018-05-31 13:10:16 -0700 | [diff] [blame] | 41 | branch: '$GERRIT_BRANCH' |
Kailash Khalasi | 785ee37 | 2018-06-26 12:35:30 -0700 | [diff] [blame] | 42 | destination-dir: 'cord' |
| 43 | |
Kailash Khalasi | 3727e31 | 2018-05-31 13:10:16 -0700 | [diff] [blame] | 44 | |
| 45 | node: 'ubuntu16.04-basebuild-1c-2g' |
| 46 | project-type: freestyle |
| 47 | concurrent: true |
| 48 | |
| 49 | builders: |
| 50 | - shell: | |
| 51 | #/usr/bin/env bash |
Kailash Khalasi | 785ee37 | 2018-06-26 12:35:30 -0700 | [diff] [blame] | 52 | cd cord/incubator/voltha |
Kailash Khalasi | 3727e31 | 2018-05-31 13:10:16 -0700 | [diff] [blame] | 53 | rm -rf venv-linux |
| 54 | . ./env.sh |
| 55 | make utest-with-coverage |