You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2019/08/01 13:10:21 UTC
[couchdb] branch jenkins-junit-reports-and-jenkins-env updated: WIP
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch jenkins-junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/jenkins-junit-reports-and-jenkins-env by this push:
new 0fe8827 WIP
0fe8827 is described below
commit 0fe882717e5488b578c1c85f4ca25b7169cdb672
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Thu Aug 1 09:10:07 2019 -0400
WIP
---
Jenkinsfile | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index c5a4c80..2f64ad5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -14,24 +14,32 @@
// the License.
// DRYing out the Jenkinsfile...
+make_check = '''
+cd ${BUILDDIR}
+rm -rf apache-couchdb-*
+tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
+cd apache-couchdb-*
+./configure --with-curl
+make
+make eunit apps=couch || (build-aux/logfile-uploader.py && false)
+find . -name "*.xml"
+'''
+
build_script = '''
mkdir -p ${COUCHDB_IO_LOG_DIR}
-env
+set
echo "Contents of Workspace"
ls -l ${WORKSPACE}
echo "Contents of builddir"
ls -l ${BUILDDIR}
-rm -rf ${BUILDDIR}/*
echo
echo "Build CouchDB from tarball & test"
-#builddir=$(mktemp -d)
cd ${BUILDDIR}
-mkdir -p build
-cd build
+rm -rf apache-couchdb-*
tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
cd apache-couchdb-*
./configure --with-curl
@@ -43,6 +51,7 @@ echo
echo "Build CouchDB packages"
cd ${BUILDDIR}
git clone https://github.com/apache/couchdb-pkg
+rm -rf couchdb
mkdir couchdb
cp ${WORKSPACE}/apache-couchdb-*.tar.gz couchdb
tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz -C couchdb