Fix Gerrit project path for meta projects
[releng/builder.git] / jjb-templates / verify.yaml
1 - job-template:
2     name: 'PROJECT_SHORTNAME-verify-{stream}'
3
4     # Job template for ODL verify jobs
5     #
6     # The purpose of this job template is to setup a ODL verify job
7     #
8     # Required Variables:
9     #     stream:    release stream (eg. stable-lithium or beryllium)
10     #     branch:    git branch (eg. stable/lithium or master)
11
12     project-type: matrix
13     node: matrix_master
14     concurrent: true
15
16     axes:
17         - axis:
18             type: slave
19             name: nodes
20             values:
21                 - dynamic_verify
22         - axis:
23             type: jdk
24             values: '{obj:jdks}'
25
26     logrotate:
27         daysToKeep: '{build-days-to-keep}'
28         numToKeep: '{build-num-to-keep}'
29         artifactDaysToKeep: '{build-artifact-days-to-keep}'
30         artifactNumToKeep: '{build-artifact-num-to-keep}'
31
32     parameters:
33         - project-parameter:
34             project: '{project}'
35         - gerrit-parameter:
36             branch: '{branch}'
37
38     scm:
39         - gerrit-trigger-scm:
40             credentials-id: '{ssh-credentials}'
41             refspec: '$GERRIT_REFSPEC'
42             choosing-strategy: 'gerrit'
43
44     wrappers:
45         - build-timeout
46         - ssh-agent-credentials:
47             users:
48                 - '{ssh-credentials}'
49
50     triggers:
51         - gerrit-trigger-patch-submitted:
52             name: 'PROJECT_PATH'
53             branch: '{branch}'
54
55     builders:
56         - wipe-org-opendaylight-repo
57         - jacoco-nojava-workaround
58         - maven-target:
59             maven-version: '{mvn33}'
60             pom: 'POM'
61             goals: 'MAVEN_GOALS'
62             java-opts:
63                 - 'MAVEN_OPTS'
64             settings: '{JENKINS_SETTINGS}'
65             global-settings: '{odl-global-settings}'
66
67     publishers:
68         - findbugs
69         - email-notification:
70             email-prefix: '[PROJECT_SHORTNAME]'
71         - jacoco-report