trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [2/2] git commit: update jenkins job definitions
Date Mon, 19 Aug 2013 17:25:12 GMT
update jenkins job definitions

  - fix git repo location for each build
  - add discard old builds
  - swizzle SCN poll interval


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

Branch: refs/heads/master
Commit: c1562cdc8ab2545e7e2b1d13632bc61a64973607
Parents: d1a65d9
Author: James Peach <jpeach@apache.org>
Authored: Mon Aug 19 10:23:59 2013 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Mon Aug 19 10:23:59 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c1562cdc/ci/jenkins.yaml
----------------------------------------------------------------------
diff --git a/ci/jenkins.yaml b/ci/jenkins.yaml
index e425d26..98c2d84 100644
--- a/ci/jenkins.yaml
+++ b/ci/jenkins.yaml
@@ -58,17 +58,19 @@
 
 - job-template:
     name: '{name}-regression'
+    node: '{label}'
+    logrotate:
+        daysToKeep: -1
+        numToKeep: 2
+        artifactDaysToKeep: -1
+        artifactNumToKeep: 2
     scm:
         - git:
-            url: file:///home/jenkins/git/trafficserver
+            url: '{repo}'
             branches:
                 - '{branch}'
     triggers:
-        - pollscm: '*/2 * * * *'
-    parameters:
-        - label:
-            name: '{label}'
-            description: '{label} label'
+        - pollscm: 'H/2 * * * *'
     builders:
         - '{label}-regression'
 
@@ -78,6 +80,7 @@
         - '{name}-regression':
             label: linux
             branch: master
+            repo: file:///home/jenkins/git/trafficserver
 
 - project:
     name: linux-3.3.x
@@ -85,6 +88,7 @@
         - '{name}-regression':
             label: linux
             branch: 3.3.x
+            repo: file:///home/jenkins/git/trafficserver_3.2
 
 - project:
     name: linux-3.4.x
@@ -92,6 +96,7 @@
         - '{name}-regression':
             label: linux
             branch: 3.4.x
+            repo: file:///home/jenkins/git/trafficserver_3.4
 
 - project:
     name: omnios-master
@@ -99,6 +104,7 @@
         - '{name}-regression':
             label: omnios
             branch: master
+            repo: file:///home/jenkins/git/trafficserver
 
 - project:
     name: omnios-3.3.x
@@ -106,6 +112,7 @@
         - '{name}-regression':
             label: omnios
             branch: 3.3.x
+            repo: file:///home/jenkins/git/trafficserver_3.2
 
 - project:
     name: omnios-3.4.x
@@ -113,5 +120,6 @@
         - '{name}-regression':
             label: omnios
             branch: 3.4.x
+            repo: file:///home/jenkins/git/trafficserver_3.4
 
 # vim: sw=4 ts=4 et ft=yaml :


Mime
View raw message