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 dc2c86bf5 Stops installing rvm
dc2c86bf5 is described below

commit dc2c86bf5d69621594847d9d602080651e057f58
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Thu Oct 6 12:41:39 2022 +0200

    Stops installing rvm
---
 Jenkinsfile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 49f015a5e..42c6f5cf5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,17 +11,14 @@ pipeline {
     skipStagesAfterUnstable()
   }
   environment {
-    RUBY_PATH="${env.WORKSPACE_TMP}/.rvm"
-    GEM_HOME="${RUBY_PATH}/gems"
-    PATH="${GEM_HOME}/bin:${RUBY_PATH}/bin:${env.PATH}"
+    GEM_HOME="${env.WORKSPACE_TMP}/gems"
+    PATH="${GEM_HOME}/bin:${env.PATH}"
   }
   stages {
     stage('Build a staged website') {
       steps {
         sh """
           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
           
           mkdir -p ${GEM_HOME}

Reply via email to