Revert "Add a swap file to build machines"
[releng/builder.git] / jjb / integration / distribution / distribution-templates.yaml
1 ---
2 - project:
3     name: distribution-templates
4
5 - job-template:
6     name: '{project-name}-distribution-check-{stream}'
7
8     ######################
9     # Default parameters #
10     ######################
11
12     mvn-version: mvn33
13
14     #####################
15     # Job Configuration #
16     #####################
17
18     # Operation: This job template builds a patch, creates a distribution containing
19     #            the patch (making sure dependencies are specified),
20     #            and performs the distribution deploy test.
21     disabled: false
22
23     project-type: freestyle
24     node: 'centos7-builder-8c-8g'
25     concurrent: true
26     jdk: '{java-version}'
27
28     properties:
29       - opendaylight-infra-properties:
30           build-days-to-keep: '{build-days-to-keep}'
31
32     parameters:
33       - opendaylight-infra-parameters:
34           os-cloud: '{os-cloud}'
35           project: '{project}'
36           branch: '{branch}'
37           refspec: 'refs/heads/{branch}'
38           artifacts: '{archive-artifacts}'
39       - integration-distribution-git-url:
40           git-url: '{git-url}'
41       - distribution-karaf-version:
42           karaf-version: '{karaf-version}'
43       - maven-exec:
44           maven-version: '{mvn-version}'
45
46     scm:
47       - integration-gerrit-scm:
48           basedir: '$GERRIT_PROJECT'
49           refspec: '$GERRIT_REFSPEC'
50           branch: '{branch}'
51       - integration-distribution-scm:
52           branch: '{distribution_branch}'
53
54     wrappers:
55       - opendaylight-infra-wrappers:
56           # Distro-check jobs typically run within 10 - 30 minutes
57           # with 45 minutes being the occassional edge case.
58           # enforce a 60 minute limit to ensure stuck jobs get
59           # cleared up sooner.
60           # Double that as Karaf 3+4 may take longer.
61           build-timeout: '120'
62
63     triggers:
64       - gerrit-trigger-patch-submitted:
65           gerrit-server-name: '{gerrit-server-name}'
66           project: '{project}'
67           branch: '{branch}'
68           files: '**'
69
70     builders:
71       - distribution-check-wipe
72       - distribution-check-build-project:
73           pom: '$GERRIT_PROJECT/pom.xml'
74           mvn-opts: '{opendaylight-infra-mvn-opts}'
75           mvn-version: '{mvn-version}'
76           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
77       - distribution-check-verify-groupid:
78           gerrit-project: '$GERRIT_PROJECT'
79       - distribution-check-download-deps:
80           dist-pom: 'distribution/pom.xml'
81           mvn-opts: '{opendaylight-infra-mvn-opts}'
82           mvn-version: '{mvn-version}'
83           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
84       - distribution-check-delete-snapshots
85       - distribution-check-configure-remotes
86       - distribution-check-repeat-project-build:
87           pom: '$GERRIT_PROJECT/pom.xml'
88           mvn-opts: '{opendaylight-infra-mvn-opts}'
89           mvn-version: '{mvn-version}'
90           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
91       - distribution-check-repeat-distro-build:
92           dist-pom: 'distribution/pom.xml'
93           mvn-opts: '{opendaylight-infra-mvn-opts}'
94           mvn-version: '{mvn-version}'
95           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
96       - integration-set-variables
97       - distribution-check-warn-9191
98       - distribution-check-warn-9192
99       - integration-upload-distribution:
100           dist-pom: distribution/pom.xml
101       - distribution-check-bootup
102
103     publishers:
104       - email-notification:
105           email-recipients: '{email-recipients}'
106           email-prefix: '[{project-name}]'
107       - integration-csit-archive-build
108       - lf-infra-publish