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/07 17:31:54 UTC
[couchdb] 01/01: 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 2a5d0e8c3ca3f66518eedf1ccdb18580f4dc1a8c
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 {