Merge "Fuel: adds retrieving OS credentials for MCP"
[releng.git] / jjb / netready / netready.yml
1 - project:
2     name: netready
3
4     project: '{name}'
5
6     jobs:
7         - 'netready-verify-{stream}'
8         - 'netready-build-gluon-packages-daily-{stream}'
9
10     stream:
11         - master:
12             branch: '{stream}'
13             gs-pathname: ''
14             disabled: false
15
16 - job-template:
17     name: 'netready-verify-{stream}'
18
19     disabled: '{obj:disabled}'
20
21     parameters:
22         - project-parameter:
23             project: '{project}'
24             branch: '{branch}'
25     scm:
26         - git-scm-gerrit
27
28     triggers:
29         - gerrit:
30             server-name: 'gerrit.opnfv.org'
31             trigger-on:
32                 - patchset-created-event:
33                     exclude-drafts: 'false'
34                     exclude-trivial-rebase: 'false'
35                     exclude-no-code-change: 'false'
36                 - draft-published-event
37                 - comment-added-contains-event:
38                     comment-contains-value: 'recheck'
39                 - comment-added-contains-event:
40                     comment-contains-value: 'reverify'
41             projects:
42               - project-compare-type: 'ANT'
43                 project-pattern: '{project}'
44                 branches:
45                   - branch-compare-type: 'ANT'
46                     branch-pattern: '**/{branch}'
47                 disable-strict-forbidden-file-verification: 'true'
48                 forbidden-file-paths:
49                   - compare-type: ANT
50                     pattern: 'docs/**'
51
52     builders:
53         - shell: |
54             echo "Nothing to verify!"
55
56
57
58 - job-template:
59     name: 'netready-build-gluon-packages-daily-{stream}'
60
61     disabled: false
62
63     concurrent: true
64
65     parameters:
66         - project-parameter:
67             project: '{project}'
68             branch: '{branch}'
69         - 'opnfv-build-ubuntu-defaults'
70         - 'netready-parameter':
71             gs-pathname: '{gs-pathname}'
72
73     scm:
74         - git-scm
75
76     builders:
77         - 'netready-gluon-build'
78
79     triggers:
80         - timed: '@midnight'
81
82
83 ########################
84 # builder macros
85 ########################
86
87 - builder:
88     name: 'netready-gluon-build'
89     builders:
90         - shell:
91             !include-raw: ./netready-gluon-build.sh
92         - shell:
93             !include-raw: ./netready-upload-gluon-packages.sh
94
95
96 ########################
97 # parameter macros
98 ########################
99
100 - parameter:
101     name: netready-parameter
102     parameters:
103         - string:
104             name: BUILD_DIRECTORY
105             default: $WORKSPACE/build
106             description: "Directory where the build artifact will be located upon the completion of the build."
107         - string:
108             name: GS_URL
109             default: artifacts.opnfv.org/$PROJECT{gs-pathname}
110             description: "URL to Google Storage."