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:43:49 UTC
[couchdb] branch jenkins-davisp-test updated (757a0db -> 60935f2)
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 757a0db Use finer grained steps in the build pipeline
new 60935f2 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 (757a0db)
\
N -- N -- N refs/heads/jenkins-davisp-test (60935f2)
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 | 5 ++---
1 file changed, 2 insertions(+), 3 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 60935f221440f6823d32917cb8e67e45d0650330
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 | 32 ++++++++++++++++++++++----------
2 files changed, 23 insertions(+), 11 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..84c25af 100644
--- a/build-aux/Jenkinsfile.mini
+++ b/build-aux/Jenkinsfile.mini
@@ -15,15 +15,13 @@
// 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)
+tar --strip=1 -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
'''
make_packages = '''
@@ -88,10 +86,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 +131,18 @@ pipeline {
stage('Build from tarball & test') {
steps {
unstash 'tarball'
- sh( script: build_and_test )
+ sh( script: unpack_tarball )
+ dir("build") {
+ 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 +193,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