This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 54b7bac More cleanup of the CI scripts
54b7bac is described below
commit 54b7bace25684183b6462d8c403d1373e8578dc6
Author: Leif Hedstrom <[email protected]>
AuthorDate: Fri May 19 16:13:48 2017 -0600
More cleanup of the CI scripts
---
ci/jenkins/bin/autest.sh | 5 ++++-
ci/jenkins/bin/github.sh | 25 ++++++++++---------------
2 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/ci/jenkins/bin/autest.sh b/ci/jenkins/bin/autest.sh
index ca737e2..698a842 100644
--- a/ci/jenkins/bin/autest.sh
+++ b/ci/jenkins/bin/autest.sh
@@ -29,12 +29,15 @@ mkdir -p $INSTALL
./configure --prefix="$INSTALL" \
--with-user=jenkins \
--enable-experimental-plugins \
+ --enable-example-plugins \
--enable-ccache \
--enable-debug \
--enable-werror
# Build and run regressions
-make -j4 && make install
+${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q=
+${ATS_MAKE} check VERBOSE=Y && ${ATS_MAKE} install
+
/usr/bin/autest -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin
"${INSTALL}/bin"
status="$?"
[ -d "$SANDBOX" ] && rm -rf "$SANDBOX"
diff --git a/ci/jenkins/bin/github.sh b/ci/jenkins/bin/github.sh
index 7494171..37b15b4 100644
--- a/ci/jenkins/bin/github.sh
+++ b/ci/jenkins/bin/github.sh
@@ -16,13 +16,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Setup autoconf
+INSTALL="${WORKSPACE}/${BUILD_NUMBER}/install"
+
+mkdir -p ${INSTALL}
cd src
autoreconf -if
-mkdir -p "${WORKSPACE}/${BUILD_NUMBER}/install"
-
-./configure --prefix="${WORKSPACE}/${BUILD_NUMBER}/install" \
+./configure --prefix="${INSTALL}" \
--with-user=jenkins \
--enable-experimental-plugins \
--enable-example-plugins \
@@ -30,16 +30,11 @@ mkdir -p "${WORKSPACE}/${BUILD_NUMBER}/install"
--enable-debug \
--enable-werror
-# Test clang-format (but only where we have the local copy of clang-format,
i.e. linux)
-if [ -d /usr/local/fmt ]; then
- [ ! -d .git/fmt ] && cp -rp /usr/local/fmt .git
- make clang-format
- git diff --exit-code
- [ "0" != "$?" ] && exit -1
-fi
-
# Build and run regressions
-make -j4
-make check VERBOSE=Y && make install
+${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q=
+${ATS_MAKE} check VERBOSE=Y && ${ATS_MAKE} install
+
+${INSTALL}/bin/traffic_server -K -k -R 1
+[ "0" != "$?" ] && exit -1
-"${WORKSPACE}/${BUILD_NUMBER}/install/bin/traffic_server" -K -k -R 1
+exit 0
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].