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


The following commit(s) were added to refs/heads/jenkins-dynamic-matrix by this 
push:
     new afac5c9  Ensure  survives
afac5c9 is described below

commit afac5c99b16372ff6a375ae7e1c30b6b04268f23
Author: Adam Kocoloski <[email protected]>
AuthorDate: Sun Jan 16 19:28:10 2022 -0500

    Ensure  survives
---
 build-aux/Jenkinsfile.full | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 3b16110..10be5d8 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -16,8 +16,8 @@
 unpack = '''
 pwd
 ls -l
-mkdir -p ${COUCHDB_IO_LOG_DIR} ${platform}
-cd ${platform}
+mkdir -p ${COUCHDB_IO_LOG_DIR} ${PLATFORM}
+cd ${PLATFORM}
 ls -l
 rm -rf build
 mkdir build
@@ -124,7 +124,12 @@ def generateNativeStage(platform) {
             // deleteDir is OK here because we're not inside of a Docker 
container!
             deleteDir()
             unstash 'tarball'
-            withEnv(['HOME='+pwd(), 'PATH+USRLOCAL=/usr/local/bin', 
'MAKE='+meta[platform].gnu_make]) {
+            withEnv([
+                'HOME='+pwd(),
+                'PATH+USRLOCAL=/usr/local/bin',
+                'MAKE='+meta[platform].gnu_make,
+                'PLATFORM='+platform
+                ]) {
               sh( script: unpack, label: 'Unpack tarball' )
               dir( "${platform}/build/couchdb" ) {
                 sh 'pwd'

Reply via email to