JJB jobs for the OpFlex project
[releng/builder.git] / jjb / opflex / opflex-dependencies-rpm.yaml
1 - project:
2     name: opflex-dependencies-rpm
3     jobs:
4         - 'opflex-dep_rpm-{stream}'
5         - 'opflex-openvswitch_rpm-{stream}'
6
7     stream:
8         - beryllium:
9             branch: 'master'
10             jdk: openjdk7
11             jdks:
12                 - openjdk7
13
14     project: 'opflex'
15
16 - parameter:
17     name: mock-target-parameter
18     parameters:
19         - string:
20             name: MOCK_TARGET
21             default: 'epel-7-x86_64'
22             description: "Target architecture for mock RPM builds"
23
24 - scm:
25     name: 'git-opflex-3rdparty'
26     scm:
27         - git:
28             url: https://github.com/noironetworks/3rdparty-rpm.git
29             branches:
30                 - 'origin/master'
31             wipe-workspace: true
32
33 - job-template:
34     name: 'opflex-dep_rpm-{stream}'
35
36     project-type: freestyle
37     node: dynamic_verify
38     concurrent: true
39
40     logrotate:
41         daysToKeep: '{build-days-to-keep}'
42         numToKeep: '{build-num-to-keep}'
43         artifactDaysToKeep: '{build-artifact-days-to-keep}'
44         artifactNumToKeep: '{build-artifact-num-to-keep}'
45
46     scm:
47         - git-opflex-3rdparty
48
49     wrappers:
50         - build-timeout
51         - ssh-agent-credentials:
52             users:
53                 - '{ssh-credentials}'
54
55     parameters:
56         - mock-target-parameter
57
58     builders:
59         - shell:
60             !include-raw-escape include-raw-opflex-dep_rpm-build.sh
61
62     publishers:
63         - email-notification:
64             email-prefix: '[opflex]'
65         - archive:
66             artifacts: '*.rpm'
67
68 - job-template:
69     name: 'opflex-openvswitch_rpm-{stream}'
70
71     project-type: freestyle
72     node: dynamic_verify
73     concurrent: true
74
75     logrotate:
76         daysToKeep: '{build-days-to-keep}'
77         numToKeep: '{build-num-to-keep}'
78         artifactDaysToKeep: '{build-artifact-days-to-keep}'
79         artifactNumToKeep: '{build-artifact-num-to-keep}'
80
81     scm:
82         - git-opflex-ovs
83
84     wrappers:
85         - build-timeout
86         - ssh-agent-credentials:
87             users:
88                 - '{ssh-credentials}'
89
90     parameters:
91         - mock-target-parameter
92
93     builders:
94         - shell:
95             !include-raw-escape include-raw-ovs_rpm-build.sh
96
97     publishers:
98         - email-notification:
99             email-prefix: '[opflex]'
100         - archive:
101             artifacts: '*.rpm'