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 925c3cb18b10e3e540414b7b4907c4c3e5cd7d3f
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 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index b3cd975..bbd7b38 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,6 +78,28 @@ pipeline {
     // Build packages on supported platforms using esl's erlang
     stage('Test') {
       steps {
+        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
+        },
         parallel(centos6: {
           node(label: 'ubuntu') {
             timeout(time: 60, unit: "MINUTES") {

Reply via email to