summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2022-01-16 19:28:10 -0500
committerAdam Kocoloski <kocolosk@apache.org>2022-01-16 19:28:10 -0500
commitafac5c99b16372ff6a375ae7e1c30b6b04268f23 (patch)
treec19efc504d4f4d1fc2a260ae223727cdbee88a40
parentf192ef584eb09d6613908be5e58c700841dc1c6e (diff)
downloadcouchdb-afac5c99b16372ff6a375ae7e1c30b6b04268f23.tar.gz
Ensure survives
-rw-r--r--build-aux/Jenkinsfile.full11
1 files changed, 8 insertions, 3 deletions
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 3b1611019..10be5d88f 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'