Merge "Apply new env and volume regexes"
[releng.git] / jjb / cirv / cirv.yaml
1 ---
2 - cirv-project-params: &cirv-project-params
3     name: 'cirv-project-params'
4     tag:
5       - latest:
6           branch: master
7           slave: lf-build2
8
9 - builder:
10     name: cirv-run-tox
11     builders:
12       - shell: tox
13
14 - trigger:
15     name: cirv-project-patchset-created
16     triggers:
17       - gerrit:
18           server-name: 'gerrit.opnfv.org'
19           trigger-on:
20             - patchset-created-event
21             - comment-added-contains-event:
22                 comment-contains-value: 'recheck'
23             - comment-added-contains-event:
24                 comment-contains-value: 'reverify'
25           projects:
26             - project-compare-type: 'ANT'
27               project-pattern: 'cirv'
28               branches:
29                 - branch-compare-type: 'ANT'
30                   branch-pattern: '**/{branch}'
31           skip-vote:
32             successful: false
33             failed: false
34             unstable: false
35             notbuilt: false
36
37 - parameter:
38     name: cirv-project-slave
39     parameters:
40       - label:
41           name: slave
42           default: '{slave}'
43
44 - scm:
45     name: cirv-project-scm
46     scm:
47       - git:
48           url: https://gerrit.opnfv.org/gerrit/cirv
49           refspec: '+refs/changes/*:refs/changes/*'
50           branches:
51             - '{ref}'
52
53 - job-template:
54     name: 'cirv-run-tox-{tag}'
55     triggers:
56       - cirv-project-patchset-created:
57           branch: '{branch}'
58     scm:
59       - cirv-project-scm:
60           ref: $GERRIT_REFSPEC
61     parameters:
62       - cirv-project-slave:
63           slave: '{slave}'
64     builders:
65       - cirv-run-tox
66
67 - project:
68     name: 'cirv-run-tox'
69     <<: *cirv-project-params
70     jobs:
71       - 'cirv-run-tox-{tag}'