Migrate maven to freestyle for perodic 78/43678/1
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 11 Aug 2016 05:56:48 +0000 (15:56 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 11 Aug 2016 05:58:04 +0000 (15:58 +1000)
Change-Id: Ia021a0bb047052a4f7bad091d912fad29b9ea98f
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/releng-templates-java.yaml

index f4bb10dad3da73ce03dfe5646cf0bae8d56bf703..91adaaa91ad0e18ead7e2d06ac67aa6447f9d756 100644 (file)
     #     stream:    release stream (eg. stable-lithium or beryllium)
     #     branch:    git branch (eg. stable/lithium or master)
 
-    project-type: maven
+    project-type: freestyle
     node: '{build-node}'
     jdk: '{jdk}'
 
     triggers:
         - timed: '@daily'
 
-    prebuilders:
+    builders:
         - jacoco-nojava-workaround
         - provide-maven-settings:
             global-settings-file: 'odl-global-settings'
             settings-file: '{mvn-settings}'
-
-    maven:
-        maven-name: '{mvn33}'
-        goals: '{mvn-goals} -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-        maven-opts: '{mvn-opts}'
-        settings: '{mvn-settings}'
-        settings-type: cfp
-        global-settings: 'odl-global-settings'
-        global-settings-type: cfp
-
-    reporters:
-        - findbugs
+        - maven-target:
+            maven-version: '{mvn33}'
+            goals: '{mvn-goals} -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+            java-opts:
+              - '{mvn-opts}'
+            settings: '{mvn-settings}'
+            settings-type: cfp
+            global-settings: 'odl-global-settings'
+            global-settings-type: cfp
 
     publishers:
         - email-notification:
             email-prefix: '[{project-name}]'
         - jacoco-report
+        - findbugs
         - archive-build:
             maven-version: '{mvn33}'