You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2018/06/27 17:48:57 UTC

[couchdb] branch master updated: Add regression runs on new dedicated FreeBSD VM

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 1209036  Add regression runs on new dedicated FreeBSD VM
1209036 is described below

commit 120903698e0689f0f021411fb4bdbb164a7ae77a
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Jun 26 20:45:23 2018 -0400

    Add regression runs on new dedicated FreeBSD VM
    
    Thanks to Just Some Enterprises for donating the compute power!
---
 Jenkinsfile | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b3cd975..7e8141c 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'