Update jenkins jobs

  - add a 60 minute build timeout
  - clean the workspace up between builds
  - send build failure emails


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/619d9342
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/619d9342
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/619d9342

Branch: refs/heads/master
Commit: 619d934208792485061c361abf68ac0bd40fd125
Parents: 94215bf
Author: James Peach <[email protected]>
Authored: Thu Nov 7 11:49:31 2013 -0800
Committer: James Peach <[email protected]>
Committed: Thu Nov 7 11:49:31 2013 -0800

----------------------------------------------------------------------
 ci/jenkins/jobs.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/619d9342/ci/jenkins/jobs.yaml
----------------------------------------------------------------------
diff --git a/ci/jenkins/jobs.yaml b/ci/jenkins/jobs.yaml
index 26a21d0..853b452 100644
--- a/ci/jenkins/jobs.yaml
+++ b/ci/jenkins/jobs.yaml
@@ -23,6 +23,20 @@
         artifactNumToKeep: 2
     triggers:
         - pollscm: 'H/30 * * * *'
+    # Time builds out (and fail them) after 60mins.
+    wrappers:
+        - timeout:
+            timeout: 60
+            fail: true
+    publishers:
+        - email:
+            recipients: '[email protected]'
+            send-to-individuals: true
+        - workspace-cleanup:
+            dirmatch: true
+            include:
+                - 'build/*'
+                - 'install/*'
 
 - builder:
     name: linux-regression

Reply via email to