This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
     new b46432465 Defines proper user home for Bundler
b46432465 is described below

commit b46432465d2cf886aabb3b24310dacf5bcaeb7a1
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Wed Oct 12 09:00:24 2022 +0200

    Defines proper user home for Bundler
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e04dda177..d8d7ecb53 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,9 +20,9 @@ pipeline {
       steps {
         sh '''
           export
-          export RUBY_PATH="$WORKSPACE/.rvm"
-          export GEM_HOME="$RUBY_PATH/gems"
+          export GEM_HOME="$$WORKSPACE/.gems"
           export PATH="$GEM_HOME/bin:$PATH"
+          export BUNDLE_USER_HOME="$WORKSPACE/.bundle"
 
           bundle config set --local path $GEM_HOME
           bundle install

Reply via email to