summaryrefslogtreecommitdiffstats
path: root/jjb/kuberef/kuberef-verify-jobs.yaml
blob: dfe6d72765d1e581ebae5acfd5b7d712deffc493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
- project:
    name: kuberef-verify
    project: kuberef
    stream:
      - master:
          branch: '{stream}'
    jobs:
      - '{project}-verify-lint-{stream}'

- job-template:
    name: '{project}-verify-lint-{stream}'
    scm:
      - kuberef-project-scm
    triggers:
      - gerrit:
          server-name: 'gerrit.opnfv.org'
          trigger-on:
            - patchset-created-event
            - comment-added-contains-event:
                comment-contains-value: 'recheck'
            - comment-added-contains-event:
                comment-contains-value: 'reverify'
          projects:
            - project-compare-type: 'ANT'
              project-pattern: 'kuberef'
              branches:
                - branch-compare-type: 'ANT'
                  branch-pattern: '**/{branch}'
          skip-vote:
            successful: false
            failed: false
            unstable: false
            notbuilt: false
    builders:
      - kubref-run-linting

- scm:
    name: kuberef-project-scm
    scm:
      - git:
          url: https://gerrit.opnfv.org/gerrit/kuberef
          refspec: '+refs/changes/*:refs/changes/*'
          branches:
            - '{ref}'

- builder:
    name: kubref-run-linting
    builders:
      - shell:
          !include-raw: ./kuberef-run-linting.sh