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/17 14:35:40 UTC

[couchdb] branch jenkins-pr-jenkinsfile-davisp created (now 994a804)

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

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


      at 994a804  Minor tweaks for Jenkins UI

This branch includes the following new commits:

     new 994a804  Minor tweaks for Jenkins UI

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.



[couchdb] 01/01: Minor tweaks for Jenkins UI

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

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

commit 994a804e031f5e7d73290d329757e64099447b91
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Tue Dec 17 08:37:28 2019 -0600

    Minor tweaks for Jenkins UI
---
 build-aux/Jenkinsfile.pr | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/build-aux/Jenkinsfile.pr b/build-aux/Jenkinsfile.pr
index d06b803..2b029a3 100644
--- a/build-aux/Jenkinsfile.pr
+++ b/build-aux/Jenkinsfile.pr
@@ -13,6 +13,15 @@
 // License for the specific language governing permissions and limitations under
 // the License.
 
+create_tarball = '''
+set
+rm -rf apache-couchdb-*
+. /usr/local/kerl/${LOW_ERLANG_VER}/activate
+./configure --with-curl
+make dist
+chmod -R a+w * .
+'''
+
 build_and_test = '''
 mkdir -p ${COUCHDB_IO_LOG_DIR}
 rm -rf build
@@ -62,7 +71,7 @@ pipeline {
   }
 
   stages {
-    stage('Build Release Tarball') {
+    stage('Create Release Tarball') {
       agent {
         docker {
           image "${DOCKER_IMAGE}"
@@ -75,14 +84,7 @@ pipeline {
         timeout(time: 15, unit: "MINUTES")
       }
       steps {
-        sh '''
-          set
-          rm -rf apache-couchdb-*
-          . /usr/local/kerl/${LOW_ERLANG_VER}/activate
-          ./configure --with-curl
-          make dist
-          chmod -R a+w * .
-        '''
+        sh( script: create_tarball, label: 'Create Tarball' )
       }
       post {
         success {
@@ -128,7 +130,7 @@ pipeline {
             }
             steps {
               unstash 'tarball'
-              sh( script: build_and_test )
+              sh( script: build_and_test, label: 'Configure, Build, Test' )
             }
             post {
               always {