diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2019-08-07 11:37:12 -0400 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2019-08-08 13:51:19 -0400 |
commit | e4bb0e4ad507b9ba6d8ed7816fcb22ac1e3d5153 (patch) | |
tree | 4e6c697e45a2b48ba35a75ff1c59b744def8e7d4 | |
parent | 45cc06dbc13f39282cf77023b2847ebd34931fdf (diff) | |
download | couchdb-junit-reports-and-jenkins-env.tar.gz |
Configure environment for Elixir on ARMjunit-reports-and-jenkins-env
These settings are required to prevent Mix & Hex from trying to install
packages into / on the ARM host.
-rw-r--r-- | Jenkinsfile | 4 |
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 { |