Temporarily disable periodic jobs until Rackspace issues resolved
[releng/builder.git] / jjb-templates / clm.yaml
1 - job-template:
2     name: 'PROJECT_SHORTNAME-clm-{stream}'
3     # Temporarily disable until Rackspace networking issues are resolved
4     disabled: true
5
6     project-type: maven
7     node: dynamic_verify
8     jdk: '{jdk}'
9
10     logrotate:
11         daysToKeep: '{build-days-to-keep}'
12         numToKeep: '{build-num-to-keep}'
13         artifactDaysToKeep: '{build-artifact-days-to-keep}'
14         artifactNumToKeep: '{build-artifact-num-to-keep}'
15
16     parameters:
17         - project-parameter:
18             project: '{project}'
19
20     scm:
21         - git-scm:
22             credentials-id: '{ssh-credentials}'
23             refspec: ''
24             branch: '{branch}'
25
26     wrappers:
27         - build-timeout
28         - ssh-agent-credentials:
29             users:
30                 - '{ssh-credentials}'
31
32     triggers:
33         - timed: '@weekly'
34
35     prebuilders:
36         - wipe-org-opendaylight-repo
37         - provide-maven-settings:
38             global-settings-file: '{odl-global-settings}'
39             settings-file: '{JENKINS_SETTINGS}'
40
41     maven:
42         maven-name: '{mvn33}'
43         root-pom: 'pom.xml'
44         goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
45         maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
46         settings: '{JENKINS_SETTINGS}'
47         global-settings: '{odl-global-settings}'
48
49     postbuilders:
50         - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
51         - check-clm:
52             application-name: PROJECT_SHORTNAME
53
54     publishers:
55         - email-notification:
56             email-prefix: '[PROJECT_SHORTNAME]'