Merge "Re-enabling docs jobs for Danube"
[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       - 'container4nfv-daily-{stream}'
14
15     stream:
16       - master:
17           branch: '{stream}'
18           gs-pathname: ''
19           disabled: false
20       - euphrates:
21           branch: 'stable/{stream}'
22           gs-pathname: '/{stream}'
23           disabled: false
24
25 - job-template:
26     name: 'container4nfv-verify-{stream}'
27
28     disabled: '{obj:disabled}'
29
30     parameters:
31       - project-parameter:
32           project: '{project}'
33           branch: '{branch}'
34       - 'opnfv-build-ubuntu-defaults'
35
36     scm:
37       - git-scm-gerrit
38
39     triggers:
40       - gerrit:
41           server-name: 'gerrit.opnfv.org'
42           trigger-on:
43             - patchset-created-event:
44                 exclude-drafts: 'false'
45                 exclude-trivial-rebase: 'false'
46                 exclude-no-code-change: 'false'
47             - draft-published-event
48             - comment-added-contains-event:
49                 comment-contains-value: 'recheck'
50             - comment-added-contains-event:
51                 comment-contains-value: 'reverify'
52           projects:
53             - project-compare-type: 'ANT'
54               project-pattern: '{project}'
55               branches:
56                 - branch-compare-type: 'ANT'
57                   branch-pattern: '**/{branch}'
58               disable-strict-forbidden-file-verification: 'true'
59               forbidden-file-paths:
60                 - compare-type: ANT
61                   pattern: 'docs/**|.gitignore'
62
63     builders:
64       - shell: |
65           cd $WORKSPACE/ci
66           ./build.sh
67
68
69 - job-template:
70     name: 'container4nfv-daily-{stream}'
71
72     project-type: freestyle
73
74     disabled: '{obj:disabled}'
75
76     concurrent: false
77
78     properties:
79       - logrotate-default
80
81     parameters:
82       - project-parameter:
83           project: '{project}'
84           branch: '{branch}'
85       - node:
86           name: SLAVE_NAME
87           description: 'Slave name on Jenkins'
88           allowed-slaves:
89             - huawei-virtaul6
90           default-slaves:
91             - huawei-virtaul6
92
93     scm:
94       - git-scm
95
96     triggers:
97       - timed: '@midnight'
98
99     builders:
100       - shell:
101           cd $WORKSPACE/ci
102           ./deploy.sh