blob: d80021ae64cb5c5ca52e40dc6c56b5aef4699062 [file] [log] [blame]
Kailash Khalasi3727e312018-05-31 13:10:16 -07001---
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 Khalasi785ee372018-06-26 12:35:30 -070039 - cord-infra-gerrit-repo-scm:
40 manifest-url: '{gerrit-server-url}/{cord-repo-manifest}'
Kailash Khalasi3727e312018-05-31 13:10:16 -070041 branch: '$GERRIT_BRANCH'
Kailash Khalasi785ee372018-06-26 12:35:30 -070042 destination-dir: 'cord'
43
Kailash Khalasi3727e312018-05-31 13:10:16 -070044
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 Khalasi785ee372018-06-26 12:35:30 -070052 cd cord/incubator/voltha
Kailash Khalasi3727e312018-05-31 13:10:16 -070053 rm -rf venv-linux
54 . ./env.sh
55 make utest-with-coverage