You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/12/11 20:36:05 UTC

[couchdb] branch jenkins-davisp-test updated (16f597c -> 757a0db)

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

davisp pushed a change to branch jenkins-davisp-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


 discard 16f597c  Use finer grained steps in the build pipeline
     new 757a0db  Use finer grained steps in the build pipeline

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (16f597c)
            \
             N -- N -- N   refs/heads/jenkins-davisp-test (757a0db)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build-aux/Jenkinsfile.mini | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)


[couchdb] 01/01: Use finer grained steps in the build pipeline

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 757a0db32c53a295dcb7665eecfa3dbc237173c9
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Wed Dec 11 13:47:22 2019 -0600

    Use finer grained steps in the build pipeline
---
 Makefile                   |  2 +-
 build-aux/Jenkinsfile.mini | 29 +++++++++++++++++++++--------
 2 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index 4c1283b..fbf392a 100644
--- a/Makefile
+++ b/Makefile
@@ -409,7 +409,7 @@ introspect:
 
 .PHONY: dist
 # target: dist - Make release tarball
-dist: all
+dist:
 	@./build-aux/couchdb-build-release.sh $(COUCHDB_VERSION)
 
 	@cp -r share/www apache-couchdb-$(COUCHDB_VERSION)/share/
diff --git a/build-aux/Jenkinsfile.mini b/build-aux/Jenkinsfile.mini
index 15de750..9c4f574 100644
--- a/build-aux/Jenkinsfile.mini
+++ b/build-aux/Jenkinsfile.mini
@@ -15,15 +15,14 @@
 
 // DRYing out the Jenkinsfile...
 
-build_and_test = '''
+unpack_tarball = '''
+# Unpack tarball
 mkdir -p ${COUCHDB_IO_LOG_DIR}
 rm -rf build
 mkdir build
 cd build
 tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
 cd apache-couchdb-*
-./configure --with-curl
-make check || (build-aux/logfile-uploader.py && false)
 '''
 
 make_packages = '''
@@ -88,10 +87,13 @@ pipeline {
         sh '''
           set
           rm -rf apache-couchdb-*
-          ./configure --with-curl
-          make dist
-          chmod -R a+w * .
         '''
+        sh './configure --with-curl'
+        sh 'make couch'
+        sh 'make fauxton'
+        sh 'make docs'
+        sh 'make dist'
+        sh 'chmod -R a+w * .'
       }
       post {
         success {
@@ -130,7 +132,18 @@ pipeline {
         stage('Build from tarball & test') {
           steps {
             unstash 'tarball'
-            sh( script: build_and_test )
+            sh( script: unpack_tarball )
+            dir("build/apache-couchdb-*") {
+                sh './configure --with-curl'
+                sh 'make'
+                sh 'make test-cluster-with-quorum'
+                sh 'make test-cluster-without-quorum'
+                sh 'make python-black'
+                sh 'make eunit'
+                sh 'make javascript'
+                sh 'make mango-test'
+                sh 'make elixir'
+            }
           }
           post {
             always {
@@ -181,7 +194,7 @@ pipeline {
           sh 'rm -rf ${WORKSPACE}/*'
           unstash 'tarball'
           unarchive mapping: ['pkgs/' : '.']
-  
+
           echo 'Retrieving & cleaning current couchdb-vm2 tree...'
           sh '''
             rsync -avz -e "ssh -o StrictHostKeyChecking=no -i $KEY" jenkins@couchdb-vm2.apache.org:/var/www/html/$BRANCH_NAME . || mkdir -p $BRANCH_NAME