summaryrefslogtreecommitdiffstats
path: root/jjb/global/basic-jobs.yml
blob: e55f068caac8b5598ea694e666b210e19aa9caec (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
---
##
# Basic Job Config
#
# This is used for project which don't have any jobs of substance
# defined yet, but still need 'Verified+1'.
##
- job-group:
    name: '{project}-verify-basic'

    stream:
      - master:
          branch: '{stream}'
          gs-pathname: ''
          disabled: false
      - euphrates:
          branch: 'stable/{stream}'
          gs-pathname: '/{stream}'
          disabled: false

    jobs:
      - '{project}-verify-{stream}'

- job-template:
    name: '{project}-verify-{stream}'

    disabled: '{obj:disabled}'

    parameters:
      - project-parameter:
          project: '{project}'
          branch: '{branch}'
      - 'opnfv-build-defaults'

    scm:
      - git-scm-gerrit

    triggers:
      - gerrit-trigger-patchset-created:
          project: '{project}'
          branch: '{branch}'
          files: 'docs/**|.gitignore'

    builders:
      - shell: |
          echo "Nothing to verify!"