Create Stable Branch Jobs for snaps
[releng.git] / jjb / storperf / storperf.yml
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       - euphrates:
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 configuration in case if the stuff is done on none-LF HW."
36           # yamllint enable rule:line-length
37
38     scm:
39       - git-scm
40
41     triggers:
42       - gerrit:
43           server-name: 'gerrit.opnfv.org'
44           trigger-on:
45             - change-merged-event
46             - comment-added-contains-event:
47                 comment-contains-value: 'remerge'
48           projects:
49             - project-compare-type: 'ANT'
50               project-pattern: '{project}'
51               branches:
52                 - branch-compare-type: 'ANT'
53                   branch-pattern: '**/{branch}'
54
55     builders:
56       - shell: |
57           $WORKSPACE/ci/merge.sh
58
59     publishers:
60       - junit:
61           results: nosetests.xml
62       - cobertura:
63           report-file: "coverage.xml"
64           only-stable: "true"
65           health-auto-update: "true"
66           stability-auto-update: "true"
67           zoom-coverage-chart: "true"
68           targets:
69             - files:
70                 healthy: 10
71                 unhealthy: 20
72                 failing: 30
73             - method:
74                 healthy: 50
75                 unhealthy: 40
76                 failing: 30
77       - email-jenkins-admins-on-failure