3 # Template: distribution-check-{stream}
4 # Goal: Build a patch and make sure it would not break distribution-check jobs for other projects.
6 # This job template builds a patch, creates a distribution containing
7 # the patch (making sure dependencies are specified),
8 # and performs the distribution deploy test.
10 name: 'distribution-check-{stream}'
13 project-type: freestyle
19 - opendaylight-infra-properties:
20 build-days-to-keep: '{build-days-to-keep}'
23 - opendaylight-infra-parameters:
26 refspec: 'refs/heads/{branch}'
27 artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt'
30 - integration-gerrit-scm:
31 basedir: 'distribution'
32 refspec: '$GERRIT_REFSPEC'
36 - opendaylight-infra-wrappers:
37 # Distro-check jobs typically run within 10 - 30 minutes
38 # with 45 minutes being the occassional edge case.
39 # enforce a 60 minute limit to ensure stuck jobs get
44 - gerrit-trigger-patch-submitted:
45 server: '{server-name}'
51 - distribution-check-wipe
52 - distribution-check-build-project:
53 pom: 'distribution/pom.xml'
54 - distribution-check-verify-groupid:
55 gerrit-project: 'integration'
56 - distribution-check-delete-snapshots
57 - distribution-check-configure-remotes
58 - distribution-check-repeat-build:
59 dist-pom: 'distribution/pom.xml'
60 - integration-distribution-check
64 email-recipients: '{email-recipients}'
65 email-prefix: '[{project-name}]'
70 mkdir -p $WORKSPACE/archives
71 cp karaf*.log $WORKSPACE/archives
72 script-only-if-succeeded: false
73 script-only-if-failed: false
74 mark-unstable-if-failed: true
77 - opendaylight-infra-shiplogs:
78 maven-version: 'mvn33'