This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch test-build in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/test-build by this push: new 26f6a4571 Uses proper env prefix 26f6a4571 is described below commit 26f6a457105e78e2b37e3fd2c2549ab807875fac Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Thu Apr 7 07:39:18 2022 +0200 Uses proper env prefix --- Jenkinsfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ed938cab0..1864c5c99 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,15 +18,15 @@ pipeline { echo Generiting a new version of website mkdir -p target/content - export RUBY_PATH=${HOME}/.rvm - export GEM_HOME=${RUBY_PATH}/gems + export RUBY_PATH=${env.HOME}/.rvm + export GEM_HOME=${env.RUBY_PATH}/gems - curl -sSL https://get.rvm.io | bash -s -- --path ${RUBY_PATH} - mkdir -p ${GEM_HOME}/gems - gem install --install-dir ${GEM_HOME} bundler -v '2.1.4' + curl -sSL https://get.rvm.io | bash -s -- --path ${env.RUBY_PATH} + mkdir -p ${env.GEM_HOME}/gems + gem install --install-dir ${env.GEM_HOME} bundler -v '2.1.4' - export PATH=${GEM_HOME}/bin:$PATH - bundle install --path ${GEM_HOME} + export PATH=${env.GEM_HOME}/bin:${env.PATH} + bundle install --path ${env.GEM_HOME} bundle bundle exec jekyll build """