Merge "Bug fix:Bottlenecks job failed."
[releng.git] / jjb / container4nfv / container4nfv-project.yml
1 ---
2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
6 - project:
7     name: container4nfv
8
9     project: '{name}'
10
11     jobs:
12       - 'container4nfv-verify-{stream}'
13
14     stream:
15       - master:
16           branch: '{stream}'
17           gs-pathname: ''
18           disabled: false
19       - euphrates:
20           branch: 'stable/{stream}'
21           gs-pathname: '/{stream}'
22           disabled: false
23
24 - job-template:
25     name: 'container4nfv-verify-{stream}'
26
27     disabled: '{obj:disabled}'
28
29     parameters:
30       - project-parameter:
31           project: '{project}'
32           branch: '{branch}'
33       - 'opnfv-build-ubuntu-defaults'
34
35     scm:
36       - git-scm-gerrit
37
38     triggers:
39       - gerrit:
40           server-name: 'gerrit.opnfv.org'
41           trigger-on:
42             - patchset-created-event:
43                 exclude-drafts: 'false'
44                 exclude-trivial-rebase: 'false'
45                 exclude-no-code-change: 'false'
46             - draft-published-event
47             - comment-added-contains-event:
48                 comment-contains-value: 'recheck'
49             - comment-added-contains-event:
50                 comment-contains-value: 'reverify'
51           projects:
52             - project-compare-type: 'ANT'
53               project-pattern: '{project}'
54               branches:
55                 - branch-compare-type: 'ANT'
56                   branch-pattern: '**/{branch}'
57               disable-strict-forbidden-file-verification: 'true'
58               forbidden-file-paths:
59                 - compare-type: ANT
60                   pattern: 'docs/**|.gitignore'
61
62     builders:
63       - shell: |
64           echo "Nothing to verify!"