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 52d6de5d3 Reorders path and cleans up before installing rvm 52d6de5d3 is described below commit 52d6de5d3afb355f1333287b19f47d06b332c3e2 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Thu Oct 6 12:26:52 2022 +0200 Reorders path and cleans up before installing rvm --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 15ee3113f..49f015a5e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,14 +13,14 @@ pipeline { environment { RUBY_PATH="${env.WORKSPACE_TMP}/.rvm" GEM_HOME="${RUBY_PATH}/gems" - PATH="${RUBY_PATH}/bin:${GEM_HOME}/bin:${env.PATH}" + PATH="${GEM_HOME}/bin:${RUBY_PATH}/bin:${env.PATH}" } stages { stage('Build a staged website') { steps { sh """ - echo Generiting a new version of website - + echo Generiting a new version of website + rm -rv ${RUBY_PATH} curl -sSL https://get.rvm.io | bash -s -- --path ${RUBY_PATH} rvm install 2.7.6