Merge "Changed templates to have all merge jobs publish source"
[releng/builder.git] / jjb / releng-macros.yaml
index 6cac01cf13b5a9907c752bd26f6a43e6276f055a..eeff7a818e41ae9490e3f1dedfe4084dbd78d255 100644 (file)
             skip-tag: true
             choosing-strategy: '{choosing-strategy}'
 
+- wrapper:
+    name: build-timeout
+    wrappers:
+        - timeout:
+            type: elastic
+            elastic-percentage: 200
+            elastic-default-timeout: 180
+            fail: true
+
 - trigger:
     name: gerrit-trigger-patch-submitted
     triggers:
             send-to:
                 - developers
                 - recipients
+
+- publisher:
+        name: jacoco-report
+        publishers:
+            - jacoco:
+                exec-pattern: "**/**.exec"
+                class-pattern: "**/classes"
+                source-pattern: "**/src/main/java"
+                status-update: true
+                targets:
+                  - branch:
+                      healthy: 10
+                      unhealthy: 20
+                  - method:
+                      healthy: 50
+                      unhealthy: 40