Merge "jjb-init-project script support for branches"
[releng/builder.git] / jjb / autorelease / autorelease-lithium.yaml
1 # Lithium build jobs
2
3 - project:
4     name: autorelease
5     jobs:
6         - 'autorelease-lithium-daily'
7
8     # stream:    branch with - in place of / (eg. stable-helium)
9     # branch:    branch (eg. stable/helium)
10     stream:
11         - master:
12             branch: 'master'
13
14     project: 'releng/autorelease'
15     jdk: 'openjdk7'
16
17 - job-template:
18     name: 'autorelease-lithium-daily'
19
20     project-type: maven
21     node: dynamic_verify
22     jdk: '{jdk}'
23
24     logrotate:
25         daysToKeep: '{build-days-to-keep}'
26         numToKeep: '{build-num-to-keep}'
27         artifactDaysToKeep: '{build-artifact-days-to-keep}'
28         artifactNumToKeep: '{build-artifact-num-to-keep}'
29
30     parameters:
31         - project-parameter:
32             project: '{project}'
33
34     scm:
35         - git:
36             credentials-id: '{ssh-credentials}'
37             url: '$GIT_BASE'
38             refspec: ''
39             branches:
40                 - 'origin/{branch}'
41             skip-tag: true
42             recursive-submodules: true
43
44     wrappers:
45         - autorelease-build-timeout
46         - ssh-agent-credentials:
47             user: '{ssh-credentials}'
48
49     triggers:
50         - timed: 'H 0 * * *'
51
52     maven:
53         maven-name: '{mvn32}'
54         root-pom: 'pom.xml'
55         goals: 'clean install -Pintegrationtests,docs -fae -Dcheckstyle.skip=true -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo'
56         maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
57         settings: '{autorelease-settings}'
58         global-settings: '{odl-global-settings}'
59
60     publishers:
61         - email-notification:
62             email-prefix: '[autorelease]'