Update to Hunter
[releng.git] / jjb / storperf / storperf.yaml
1 ---
2 - project:
3     name: storperf
4
5     project: '{name}'
6
7     jobs:
8       - 'storperf-merge-{stream}'
9
10     stream:
11       - master:
12           branch: '{stream}'
13           gs-pathname: ''
14           disabled: false
15           docker-tag: 'latest'
16       - hunter: &hunter
17           branch: 'stable/{stream}'
18           gs-pathname: '/{stream}'
19           disabled: false
20           docker-tag: 'stable'
21
22 - job-template:
23     name: 'storperf-merge-{stream}'
24
25     node: opnfv-build-ubuntu
26
27     parameters:
28       - project-parameter:
29           project: '{project}'
30           branch: '{branch}'
31       - string:
32           name: GIT_BASE
33           default: https://gerrit.opnfv.org/gerrit/$PROJECT
34           # yamllint disable rule:line-length
35           description: "Used for overriding the GIT URL coming from Global Jenkins\
36             \ configuration in case if the stuff is done on none-LF HW."
37           # yamllint enable rule:line-length
38
39     scm:
40       - git-scm
41
42     triggers:
43       - gerrit:
44           server-name: 'gerrit.opnfv.org'
45           trigger-on:
46             - change-merged-event
47             - comment-added-contains-event:
48                 comment-contains-value: 'remerge'
49           projects:
50             - project-compare-type: 'ANT'
51               project-pattern: '{project}'
52               branches:
53                 - branch-compare-type: 'ANT'
54                   branch-pattern: '**/{branch}'
55
56     builders:
57       - shell: |
58           $WORKSPACE/ci/merge.sh
59
60     publishers:
61       - junit:
62           results: nosetests.xml
63       - cobertura:
64           report-file: "coverage.xml"
65           only-stable: "true"
66           health-auto-update: "true"
67           stability-auto-update: "true"
68           zoom-coverage-chart: "true"
69           targets:
70             - files:
71                 healthy: 10
72                 unhealthy: 20
73                 failing: 30
74             - method:
75                 healthy: 50
76                 unhealthy: 40
77                 failing: 30
78       - email-jenkins-admins-on-failure