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