Create JJB for IoTDM with odlparent, yangtools, controoler and aaa as dependencies
[releng/builder.git] / jjb / releng-macros.yaml
index 6cac01cf13b5a9907c752bd26f6a43e6276f055a..22cfab0463a43671f448943899cd408d7dd30fd3 100644 (file)
             skip-tag: true
             choosing-strategy: '{choosing-strategy}'
 
+- wrapper:
+    name: build-timeout
+    wrappers:
+        - timeout:
+            type: absolute
+            timeout: 360
+            fail: true
+
 - trigger:
     name: gerrit-trigger-patch-submitted
     triggers:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/{branch}'
 
+- publisher:
+    name: archive-artifacts
+    publishers:
+        - archive:
+            artifacts: '{artifacts}'
+            allow-empty: true
+            fingerprint: true
+            latest-only: true
+
 - publisher:
     name: email-notification
     publishers:
             send-to:
                 - developers
                 - recipients
+
+- publisher:
+        name: jacoco-report
+        publishers:
+            - jacoco:
+                exec-pattern: "**/**.exec"
+                class-pattern: "**/classes"
+                source-pattern: "**/src/main/java"
+                exclusion-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**"
+                status-update: true
+                targets:
+                  - branch:
+                      healthy: 10
+                      unhealthy: 20
+                  - method:
+                      healthy: 50
+                      unhealthy: 40
+
+- builder:
+    name: wipe-org-opendaylight-repo
+    builders:
+        - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'