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

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

commit 2486b1bad9f3ef5ceb26c6f49a7e16c81af0e2f3
Author: Joan Touzet <[email protected]>
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'

Reply via email to