summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <joant@atypical.net>2018-06-26 20:45:23 -0400
committerJoan Touzet <wohali@users.noreply.github.com>2018-06-27 13:48:54 -0400
commit120903698e0689f0f021411fb4bdbb164a7ae77a (patch)
treeda8f541292c0b6f1d015d4755b5b3ac5f55c627c
parente6272de6e836bcf7dadeca425c09b480ee61973a (diff)
downloadcouchdb-120903698e0689f0f021411fb4bdbb164a7ae77a.tar.gz
Add regression runs on new dedicated FreeBSD VM
Thanks to Just Some Enterprises for donating the compute power!
-rw-r--r--Jenkinsfile27
1 files changed, 26 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b3cd9758e..7e8141c49 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,7 +78,32 @@ pipeline {
// Build packages on supported platforms using esl's erlang
stage('Test') {
steps {
- parallel(centos6: {
+ parallel(freebsd: {
+ node(label: 'couchdb && freebsd') {
+ timeout(time: 60, unit: "MINUTES") {
+ deleteDir()
+ unstash 'tarball'
+ withEnv(['HOME='+pwd()]) {
+ sh '''
+ cwd=$(pwd)
+ mkdir -p $COUCHDB_IO_LOG_DIR
+
+ # Build CouchDB from tarball & test
+ builddir=$(mktemp -d)
+ cd $builddir
+ tar -xf $cwd/apache-couchdb-*.tar.gz
+ cd apache-couchdb-*
+ ./configure --with-curl
+ gmake check || (build-aux/logfile-uploader.py && false)
+
+ # No package build for FreeBSD at this time
+ '''
+ } // withEnv
+ } // timeout
+ deleteDir()
+ } // node
+ },
+ centos6: {
node(label: 'ubuntu') {
timeout(time: 60, unit: "MINUTES") {
sh 'docker pull couchdbdev/centos-6-erlang-19.3.6'