You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2019/08/08 17:52:03 UTC
[couchdb] 05/05: Configure environment for Elixir on ARM
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit e4bb0e4ad507b9ba6d8ed7816fcb22ac1e3d5153
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Wed Aug 7 11:37:12 2019 -0400
Configure environment for Elixir on ARM
These settings are required to prevent Mix & Hex from trying to install
packages into / on the ARM host.
---
Jenkinsfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index f37e9bf..f8f6a2f 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 {