summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2019-07-29 19:15:08 -0400
committerAdam Kocoloski <kocolosk@apache.org>2019-07-29 19:15:08 -0400
commit2107aac842fcf48b98d24c3287ca7b7138b5f344 (patch)
tree4a8fb1f5670437e97e94ef61003f8788c750ce78
parentc762b2306700307a557a6dd24aae93ee9832184e (diff)
downloadcouchdb-jenkins-fix-eunit-timeouts.tar.gz
Set MIX_HOME on ARM buildsjenkins-fix-eunit-timeouts
We encountered a weird failure only on ARM where Mix was trying to write to /.mix. This is one attempt to fix that.
-rw-r--r--Jenkinsfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index c57574824..6d1104bd8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -332,7 +332,9 @@ pipeline {
steps {
sh 'rm -f apache-couchdb-*.tar.gz'
unstash 'tarball'
- sh( script: build_script )
+ withEnv(['MIX_HOME='+pwd()]) {
+ sh( script: build_script )
+ }
} // steps
post {
success {