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

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

commit ac16b703311d4f3953c47b93e0a692d6f7a67a89
Author: Joan Touzet <[email protected]>
AuthorDate: Sat Oct 14 14:11:24 2017 -0400

    Jenkins: Add Debian 9 (stretch), drop Ubuntu 12.04 (precise)
---
 Jenkinsfile | 83 +++++++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 62 insertions(+), 21 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index d521227..fed976a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -182,11 +182,11 @@ pipeline {
             deleteDir()
           } // node
         },
-        ubuntu1204erlang183: {
+        ubuntu1404erlangdefault: {
           node(label: 'couchdbtest') {
             timeout(time: 45, unit: "MINUTES") {
-              sh 'docker pull couchdbdev/ubuntu-12.04-erlang-18.3'
-              withDockerContainer(image: 
'couchdbdev/ubuntu-12.04-erlang-18.3') {
+              sh 'docker pull couchdbdev/ubuntu-14.04-erlang-default'
+              withDockerContainer(image: 
'couchdbdev/ubuntu-14.04-erlang-default') {
                 sh 'rm -f apache-couchdb-*.tar.gz'
                 unstash 'tarball'
                 sh '''
@@ -205,11 +205,51 @@ pipeline {
             deleteDir()
           } // node
         },
-        ubuntu1404erlangdefault: {
+        ubuntu1404erlang183: {
+          node(label: 'couchdbtest') {
+            timeout(time: 60, unit: "MINUTES") {
+              sh 'docker pull couchdbdev/ubuntu-14.04-erlang-18.3'
+              withDockerContainer(image: 
'couchdbdev/ubuntu-14.04-erlang-18.3') {
+                sh 'rm -f apache-couchdb-*.tar.gz'
+                unstash 'tarball'
+                sh '''
+                  cwd=$(pwd)
+                  mkdir -p $COUCHDB_IO_LOG_DIR
+
+                  # Build CouchDB from tarball
+                  builddir=$(mktemp -d)
+                  cd $builddir
+                  tar -xf $cwd/apache-couchdb-*.tar.gz
+                  cd apache-couchdb-*
+                  ./configure --with-curl
+                  make all
+                  make check || (build-aux/logfile-uploader.py && false)
+
+                  # Build CouchDB packages
+                  cd $builddir
+                  git clone https://github.com/apache/couchdb-pkg
+                  mkdir couchdb
+                  cp $cwd/apache-couchdb-*.tar.gz couchdb
+                  tar -xf $cwd/apache-couchdb-*.tar.gz -C couchdb
+                  cd couchdb-pkg
+                  platform=$(lsb_release -cs)
+                  make $platform PLATFORM=$platform
+
+                  # Cleanup & save for posterity
+                  rm -rf $cwd/pkgs/$platform && mkdir -p $cwd/pkgs/$platform
+                  mv ../couchdb/*deb $cwd/pkgs/$platform || true
+                '''
+              } // withDocker
+            } // timeout
+            archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
+            deleteDir()
+          } // node
+        },
+        ubuntu1604erlangdefault: {
           node(label: 'couchdbtest') {
             timeout(time: 45, unit: "MINUTES") {
-              sh 'docker pull couchdbdev/ubuntu-14.04-erlang-default'
-              withDockerContainer(image: 
'couchdbdev/ubuntu-14.04-erlang-default') {
+              sh 'docker pull couchdbdev/ubuntu-16.04-erlang-default'
+              withDockerContainer(image: 
'couchdbdev/ubuntu-16.04-erlang-default') {
                 sh 'rm -f apache-couchdb-*.tar.gz'
                 unstash 'tarball'
                 sh '''
@@ -228,11 +268,11 @@ pipeline {
             deleteDir()
           } // node
         },
-        ubuntu1404erlang183: {
+        ubuntu1604erlang183: {
           node(label: 'couchdbtest') {
             timeout(time: 60, unit: "MINUTES") {
-              sh 'docker pull couchdbdev/ubuntu-14.04-erlang-18.3'
-              withDockerContainer(image: 
'couchdbdev/ubuntu-14.04-erlang-18.3') {
+              sh 'docker pull couchdbdev/ubuntu-16.04-erlang-18.3'
+              withDockerContainer(image: 
'couchdbdev/ubuntu-16.04-erlang-18.3') {
                 sh 'rm -f apache-couchdb-*.tar.gz'
                 unstash 'tarball'
                 sh '''
@@ -268,11 +308,11 @@ pipeline {
             deleteDir()
           } // node
         },
-        ubuntu1604erlangdefault: {
+        debian8erlangdefault: {
           node(label: 'couchdbtest') {
             timeout(time: 45, unit: "MINUTES") {
-              sh 'docker pull couchdbdev/ubuntu-16.04-erlang-default'
-              withDockerContainer(image: 
'couchdbdev/ubuntu-16.04-erlang-default') {
+              sh 'docker pull couchdbdev/debian-8-erlang-default'
+              withDockerContainer(image: 'couchdbdev/debian-8-erlang-default') 
{
                 sh 'rm -f apache-couchdb-*.tar.gz'
                 unstash 'tarball'
                 sh '''
@@ -291,11 +331,11 @@ pipeline {
             deleteDir()
           } // node
         },
-        ubuntu1604erlang183: {
+        debian8erlang183: {
           node(label: 'couchdbtest') {
             timeout(time: 60, unit: "MINUTES") {
-              sh 'docker pull couchdbdev/ubuntu-16.04-erlang-18.3'
-              withDockerContainer(image: 
'couchdbdev/ubuntu-16.04-erlang-18.3') {
+              sh 'docker pull couchdbdev/debian-8-erlang-18.3'
+              withDockerContainer(image: 'couchdbdev/debian-8-erlang-18.3') {
                 sh 'rm -f apache-couchdb-*.tar.gz'
                 unstash 'tarball'
                 sh '''
@@ -331,11 +371,11 @@ pipeline {
             deleteDir()
           } // node
         },
-        debian8erlangdefault: {
+        debian9erlangdefault: {
           node(label: 'couchdbtest') {
             timeout(time: 45, unit: "MINUTES") {
-              sh 'docker pull couchdbdev/debian-8-erlang-default'
-              withDockerContainer(image: 'couchdbdev/debian-8-erlang-default') 
{
+              sh 'docker pull couchdbdev/debian-9-erlang-default'
+              withDockerContainer(image: 'couchdbdev/debian-9-erlang-default') 
{
                 sh 'rm -f apache-couchdb-*.tar.gz'
                 unstash 'tarball'
                 sh '''
@@ -354,11 +394,11 @@ pipeline {
             deleteDir()
           } // node
         },
-        debian8erlang183: {
+        debian9erlang183: {
           node(label: 'couchdbtest') {
             timeout(time: 60, unit: "MINUTES") {
-              sh 'docker pull couchdbdev/debian-8-erlang-18.3'
-              withDockerContainer(image: 'couchdbdev/debian-8-erlang-18.3') {
+              sh 'docker pull couchdbdev/debian-9-erlang-18.3'
+              withDockerContainer(image: 'couchdbdev/debian-9-erlang-18.3') {
                 sh 'rm -f apache-couchdb-*.tar.gz'
                 unstash 'tarball'
                 sh '''
@@ -429,6 +469,7 @@ pipeline {
               reprepro -b couchdb-pkg/repo includedeb jessie pkgs/jessie/*deb
               reprepro -b couchdb-pkg/repo includedeb trusty pkgs/trusty/*deb
               reprepro -b couchdb-pkg/repo includedeb xenial pkgs/xenial/*deb
+              reprepro -b couchdb-pkg/repo includedeb stretch pkgs/stretch/*deb
             '''
             echo 'Building CentOS repos...'
             sh '''

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to