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