summaryrefslogtreecommitdiffstats
path: root/jjb/kuberef/kuberef-verify-jobs.yaml
blob: 92f29d096ac2f6f4ed6850117c62d0d3b1359657 (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
52
53
54
55
56
57
58
---
- project:
    name: kuberef-verify
    project: kuberef
    stream:
      - master:
          branch: '{stream}'
      - jerma: &jerma
          branch: 'stable/{stream}'
          disabled: false
    jobs:
      - '{project}-verify-lint-{stream}'

- job-template:
    name: '{project}-verify-lint-{stream}'
    scm:
      - git-scm-gerrit
    parameters:
      - label:
          name: SLAVE_LABEL
          default: 'opnfv-build'
          all-nodes: false
          node-eligibility: 'ignore-offline'
      - project-parameter:
          project: $GERRIT_PROJECT
          branch: '{branch}'
      - string:
          name: GIT_BASE
          default: https://gerrit.opnfv.org/gerrit/$PROJECT
          description: 'Git URL to use on this Jenkins Slave'
    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

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