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 2019/08/06 15:04:15 UTC

[couchdb] branch jenkins-junit-reports-and-jenkins-env updated: Few more experiments

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

kocolosk pushed a commit to branch jenkins-junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-junit-reports-and-jenkins-env by this push:
     new d152076  Few more experiments
d152076 is described below

commit d1520760914210de8ef5d47ba305b1398e954aa4
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Aug 6 11:03:30 2019 -0400

    Few more experiments
---
 Jenkinsfile | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index ef2e807..3d28084 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,6 +28,7 @@ make eunit apps=couch || (build-aux/logfile-uploader.py && false)
 '''
 
 make_packages = '''
+git clone https://github.com/apache/couchdb-pkg
 rm -rf couchdb
 mkdir couchdb
 cp ${WORKSPACE}/apache-couchdb-*.tar.gz couchdb
@@ -220,7 +221,6 @@ pipeline {
             }
             stage('Build CouchDB packages') {
               steps {
-                git 'https://github.com/apache/couchdb-pkg'
                 sh( script: make_packages )
                 sh( script: cleanup_and_save )
               }
@@ -268,7 +268,7 @@ pipeline {
             }
             stage('Build CouchDB packages') {
               steps {
-                git 'https://github.com/apache/couchdb-pkg'
+                unstash 'tarball'
                 sh( script: make_packages )
                 sh( script: cleanup_and_save )
               }
@@ -305,7 +305,6 @@ pipeline {
           steps {
               unstash 'tarball'
               sh( script: build_and_test, label: 'Build from release tarball and test' )
-              git 'https://github.com/apache/couchdb-pkg'
               sh( script: make_packages, label: 'Build packages' )
               sh( script: cleanup_and_save, label: 'Save package artifacts and cleanup' )
           }
@@ -347,7 +346,10 @@ pipeline {
             }
             stage('Build CouchDB packages') {
               steps {
-                git 'https://github.com/apache/couchdb-pkg'
+                sh '''
+                pwd
+                ls -l
+                '''
                 sh( script: make_packages )
                 sh( script: cleanup_and_save )
               }
@@ -391,7 +393,6 @@ pipeline {
             }
             stage('Build CouchDB packages') {
               steps {
-                git 'https://github.com/apache/couchdb-pkg'
                 sh( script: make_packages )
                 sh( script: cleanup_and_save )
               }
@@ -435,7 +436,6 @@ pipeline {
             }
             stage('Build CouchDB packages') {
               steps {
-                git 'https://github.com/apache/couchdb-pkg'
                 sh( script: make_packages )
                 sh( script: cleanup_and_save )
               }
@@ -479,7 +479,6 @@ pipeline {
             }
             stage('Build CouchDB packages') {
               steps {
-                git 'https://github.com/apache/couchdb-pkg'
                 sh( script: make_packages )
                 sh( script: cleanup_and_save )
               }