summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2019-08-07 11:37:12 -0400
committerAdam Kocoloski <kocolosk@apache.org>2019-08-08 16:21:51 -0400
commit2b3e2a02a5d7e106d70438173b1d9abaffc2dca1 (patch)
tree4e6c697e45a2b48ba35a75ff1c59b744def8e7d4
parent7f144950f14cd2d3a42888420fa99079e66f402f (diff)
downloadcouchdb-2b3e2a02a5d7e106d70438173b1d9abaffc2dca1.tar.gz
Configure environment for Elixir on ARM
These settings are required to prevent Mix & Hex from trying to install packages into / on the ARM host.
-rw-r--r--Jenkinsfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index f37e9bf14..f8f6a2f8b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -457,7 +457,9 @@ pipeline {
stage('Build from tarball & test') {
steps {
unstash 'tarball'
- sh( script: build_and_test )
+ withEnv(['MIX_HOME='+pwd(), 'HEX_HOME='+pwd()]) {
+ sh( script: build_and_test )
+ }
}
post {
always {