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 2020/04/30 00:18:19 UTC

[couchdb] branch 3.x updated: Add Ubuntu Focal (20.04) + SM68 to Jenkins

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

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


The following commit(s) were added to refs/heads/3.x by this push:
     new c534118  Add Ubuntu Focal (20.04) + SM68 to Jenkins
c534118 is described below

commit c534118b73b5d6c1732e206d9a51bc1ce3386728
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Tue Apr 28 22:08:17 2020 +0000

    Add Ubuntu Focal (20.04) + SM68 to Jenkins
---
 .gitignore                 |  1 +
 build-aux/Jenkinsfile.full | 49 ++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3b81634..5411c5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@
 .eunit/
 cover/
 core
+debian/
 log
 apache-couchdb-*/
 bin/
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index eca3f4c..39193d8 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -33,7 +33,7 @@ mkdir couchdb
 cp ${WORKSPACE}/apache-couchdb-*.tar.gz couchdb
 tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz -C couchdb
 cd couchdb-pkg
-make ${platform} PLATFORM=${platform}
+make
 '''
 
 cleanup_and_save = '''
@@ -417,6 +417,50 @@ pipeline {
           } // post
         } // stage
 
+        stage('Ubuntu Focal') {
+          agent {
+            docker {
+              image 'couchdbdev/ubuntu-focal-erlang-20.3.8.25-1:latest'
+              label 'docker'
+              alwaysPull true
+              args "${DOCKER_ARGS}"
+            }
+          }
+          environment {
+            platform = 'focal'
+            sm_ver = '68'
+          }
+          stages {
+            stage('Build from tarball & test') {
+              steps {
+                unstash 'tarball'
+                sh( script: build_and_test )
+              }
+              post {
+                always {
+                  junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml'
+                }
+              }
+            }
+            stage('Build CouchDB packages') {
+              steps {
+                sh( script: make_packages )
+                sh( script: cleanup_and_save )
+              }
+              post {
+                success {
+                  archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
+                }
+              }
+            }
+          } // stages
+          post {
+            cleanup {
+              sh 'rm -rf ${WORKSPACE}/*'
+            }
+          } // post
+        } // stage
+
         stage('Debian Stretch') {
           agent {
             docker {
@@ -697,11 +741,12 @@ pipeline {
             cp js/debian-stretch/*.deb pkgs/stretch
             reprepro -b couchdb-pkg/repo includedeb stretch pkgs/stretch/*.deb
             cp js/debian-buster/*.deb pkgs/stretch
-            reprepro -b couchdb-pkg/repo includedeb stretch pkgs/buster/*.deb
+            reprepro -b couchdb-pkg/repo includedeb buster pkgs/buster/*.deb
             cp js/ubuntu-xenial/*.deb pkgs/xenial
             reprepro -b couchdb-pkg/repo includedeb xenial pkgs/xenial/*.deb
             cp js/ubuntu-bionic/*.deb pkgs/bionic
             reprepro -b couchdb-pkg/repo includedeb bionic pkgs/bionic/*.deb
+            reprepro -b couchdb-pkg/repo includedeb focal pkgs/focal/*.deb
           '''
 
           echo 'Building CentOS repos...'