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:47 UTC
[6/8] git commit: ci: add clang regression tests
ci: add clang regression tests
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/65843c0b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/65843c0b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/65843c0b
Branch: refs/heads/master
Commit: 65843c0b1304e9d31b7357ad67cd24bbb9e324ab
Parents: 1502438
Author: James Peach <jp...@apache.org>
Authored: Mon Aug 19 11:39:33 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Mon Aug 19 11:39:33 2013 -0700
----------------------------------------------------------------------
ci/jenkins.yaml | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/65843c0b/ci/jenkins.yaml
----------------------------------------------------------------------
diff --git a/ci/jenkins.yaml b/ci/jenkins.yaml
index be9ef03..a715824 100644
--- a/ci/jenkins.yaml
+++ b/ci/jenkins.yaml
@@ -48,6 +48,27 @@
- shell: |
rm -rf "${WORKSPACE}/install/${JOB_NAME}.${BUILD_NUMBER}"
+- builder:
+ name: linux-clang-regression
+ builders:
+ - shell: |
+ git clean -d -f -x -q
+ mkdir -p "${WORKSPACE}/install/${JOB_NAME}.${BUILD_NUMBER}"
+ autoreconf -fi
+ - shell: |
+ export CC=clang
+ export CXX=clang++
+ export CXXFLAGS="-Qunused-arguments -std=c++11"
+ export WITH_LIBCPLUSPLUS=yes
+ ./configure --enable-debug --prefix="${WORKSPACE}/install/${JOB_NAME}.${BUILD_NUMBER}" --enable-experimental-plugins --enable-wccp
+ - shell: make -j2 V=1
+ - shell: make check
+ - shell: make install
+ - shell: |
+ "${WORKSPACE}/install/${JOB_NAME}.${BUILD_NUMBER}"/bin/traffic_server -R 1
+ - shell: |
+ rm -rf "${WORKSPACE}/install/${JOB_NAME}.${BUILD_NUMBER}"
+
# XXX if we can pass down a $MAKE environment variable from the project, then we can
# remove the BSD builder and just use the linux one.
- builder:
@@ -128,6 +149,24 @@
builders:
- '{builder}-debug-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'
+
- project:
name: centos-5-x64
node: centos_5_x64
@@ -295,6 +334,9 @@
node: fedora_rawhide_x86
builder: linux
jobs:
+ - '{node}-{branch}-clang-regression':
+ branch: master
+ repo: file:///home/jenkins/git/trafficserver
- '{node}-{branch}-debug-regression':
branch: master
repo: file:///home/jenkins/git/trafficserver