Add autorelease Lithium jobs 47/13847/4
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 19 Jan 2015 04:40:51 +0000 (23:40 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 19 Jan 2015 04:40:51 +0000 (23:40 -0500)
Change-Id: I8c36a17a561276c69010e9972d7f71ae5398fca8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-lithium.yaml [new file with mode: 0644]
jjb/autorelease/autorelease-macros.yaml [new file with mode: 0644]

diff --git a/jjb/autorelease/autorelease-lithium.yaml b/jjb/autorelease/autorelease-lithium.yaml
new file mode 100644 (file)
index 0000000..8f868b3
--- /dev/null
@@ -0,0 +1,62 @@
+# Lithium build jobs
+
+- project:
+    name: autorelease
+    jobs:
+        - 'autorelease-lithium-daily'
+
+    # stream:    branch with - in place of / (eg. stable-helium)
+    # branch:    branch (eg. stable/helium)
+    stream:
+        - master:
+            branch: 'master'
+
+    project: 'releng/autorelease'
+    jdk: 'openjdk7'
+
+- job-template:
+    name: 'autorelease-lithium-daily'
+
+    project-type: maven
+    node: dynamic_verify
+    jdk: '{jdk}'
+
+    logrotate:
+        daysToKeep: '{build-days-to-keep}'
+        numToKeep: '{build-num-to-keep}'
+        artifactDaysToKeep: '{build-artifact-days-to-keep}'
+        artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+    parameters:
+        - project-parameter:
+            project: '{project}'
+
+    scm:
+        - git:
+            credentials-id: '{ssh-credentials}'
+            url: '$GIT_BASE'
+            refspec: ''
+            branches:
+                - 'origin/{branch}'
+            skip-tag: true
+            recursive-submodules: true
+
+    wrappers:
+        - autorelease-build-timeout
+        - ssh-agent-credentials:
+            user: '{ssh-credentials}'
+
+    triggers:
+        - timed: 'H 0 * * *'
+
+    maven:
+        maven-name: '{mvn32}'
+        root-pom: 'pom.xml'
+        goals: 'clean install -Pintegrationtests,docs -fae -Dcheckstyle.skip=true -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo'
+        maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+        settings: '{autorelease-settings}'
+        global-settings: '{odl-global-settings}'
+
+    publishers:
+        - email-notification:
+            email-prefix: '[autorelease]'
diff --git a/jjb/autorelease/autorelease-macros.yaml b/jjb/autorelease/autorelease-macros.yaml
new file mode 100644 (file)
index 0000000..6232309
--- /dev/null
@@ -0,0 +1,9 @@
+# Macros for the AutoRelease project
+- wrapper:
+    name: autorelease-build-timeout
+    wrappers:
+        - timeout:
+            type: elastic
+            elastic-percentage: 200
+            elastic-default-timeout: 300
+            fail: true