You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2022/01/18 14:32:43 UTC

[couchdb] branch jenkins-dynamic-matrix updated (499bf14 -> f270a7c)

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

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


    from 499bf14  Fix tar invocation, use relative paths in package scripts
     new 5bd3cfa  Make sure to actually fail the build
     new f270a7c  Fix make_packages

The 2 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.full | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

[couchdb] 01/02: Make sure to actually fail the build

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

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

commit 5bd3cfa2d106762907c1906815d14559722593c0
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Jan 18 09:32:14 2022 -0500

    Make sure to actually fail the build
---
 build-aux/Jenkinsfile.full | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index a3f8319..b471539 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -142,6 +142,7 @@ def generateNativeStage(platform) {
           }
           catch (err) {
             echo "Build failed: {$err}"
+            currentBuild.result = 'FAILURE'
             sh 'ls -l ${WORKSPACE}'
             withEnv([
                 'HOME='+pwd(),
@@ -201,6 +202,7 @@ def generateContainerStage(platform) {
                   }
                   catch (err) {
                     echo "Build failed: {$err}"
+                    currentBuild.result = 'FAILURE'
                     sh 'ls -l ${WORKSPACE}'
                     dir( "${platform}/build" ) {
                       sh 'ls -l'
@@ -223,6 +225,7 @@ def generateContainerStage(platform) {
                   }
                   catch (err) {
                     echo "Packaging failed: {$err}"
+                    currentBuild.result = 'FAILURE'
                     sh 'ls -l ${WORKSPACE}'
                   }
                   finally {

[couchdb] 02/02: Fix make_packages

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

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

commit f270a7cf01597a2d11f7fa3673dd85904ab7e54c
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Jan 18 09:32:30 2022 -0500

    Fix make_packages
---
 build-aux/Jenkinsfile.full | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index b471539..3734107 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -14,12 +14,10 @@
 // the License.
 
 make_packages = '''
-mkdir ${PLATFORM}
+mkdir -p ${PLATFORM}/couchdb
+tar -xf apache-couchdb-*.tar.gz -C ${PLATFORM}/couchdb
 cd ${PLATFORM}
 git clone https://github.com/apache/couchdb-pkg
-mkdir couchdb
-cp apache-couchdb-*.tar.gz couchdb
-tar -xf apache-couchdb-*.tar.gz -C couchdb
 cd couchdb-pkg
 make
 '''