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 8e0e4442ecfe3a1286e5a816e96ff483e3ae41bd
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 | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b3cd975..b815dff 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,7 +78,29 @@ 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") {
+              unstash 'tarball'
+              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
+                make check || (build-aux/logfile-uploader.py && false)
+
+                # No package build for FreeBSD at this time
+              '''
+            } // 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