You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/08/19 20:52:49 UTC
[8/8] git commit: ci: hoist job template parameters to defaults
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 <jp...@apache.org>
Authored: Mon Aug 19 11:51:55 2013 -0700
Committer: James Peach <jp...@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'