trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [8/8] git commit: ci: hoist job template parameters to defaults
Date Mon, 19 Aug 2013 18:52:49 GMT
ci: hoist job template parameters to defaults


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

Branch: refs/heads/master
Commit: a8ca814a1ba261f88901bb47c68a723f2d107e94
Parents: 8493b50
Author: James Peach <jpeach@apache.org>
Authored: Mon Aug 19 11:51:55 2013 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Mon Aug 19 11:51:55 2013 -0700

----------------------------------------------------------------------
 ci/jenkins.yaml | 38 ++++++++++----------------------------
 1 file changed, 10 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a8ca814a/ci/jenkins.yaml
----------------------------------------------------------------------
diff --git a/ci/jenkins.yaml b/ci/jenkins.yaml
index c635cec..e34da4d 100644
--- a/ci/jenkins.yaml
+++ b/ci/jenkins.yaml
@@ -14,6 +14,16 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
+- defaults:
+    name: global
+    logrotate:
+        daysToKeep: -1
+        numToKeep: 2
+        artifactDaysToKeep: -1
+        artifactNumToKeep: 2
+    triggers:
+        - pollscm: 'H/2 * * * *'
+
 - builder:
     name: linux-regression
     builders:
@@ -99,29 +109,17 @@
 - job-template:
     name: '{node}-{branch}-regression'
     node: '{node}'
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: 2
     scm:
         - git:
             url: '{repo}'
             branches:
                 - '{branch}'
-    triggers:
-        - pollscm: 'H/2 * * * *'
     builders:
         - '{builder}-regression'
 
 - job-template:
     name: '{node}-{branch}-debug-regression'
     node: '{node}'
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: 2
     parameters:
         - string:
             name: ENABLE_DEBUG
@@ -132,37 +130,23 @@
             url: '{repo}'
             branches:
                 - '{branch}'
-    triggers:
-        - pollscm: 'H/2 * * * *'
     builders:
         - '{builder}-regression'
 
 - job-template:
     name: '{node}-{branch}-clang-regression'
     node: '{node}'
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: 2
     scm:
         - git:
             url: '{repo}'
             branches:
                 - '{branch}'
-    triggers:
-        - pollscm: 'H/2 * * * *'
     builders:
         - '{builder}-clang-regression'
 
 - job-template:
     name: '{node}-{branch}-clang-debug-regression'
     node: '{node}'
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: 2
     parameters:
         - string:
             name: ENABLE_DEBUG
@@ -173,8 +157,6 @@
             url: '{repo}'
             branches:
                 - '{branch}'
-    triggers:
-        - pollscm: 'H/2 * * * *'
     builders:
         - '{builder}-clang-regression'
 


Mime
View raw message