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 7f936a4b0 Drops installing rvm
7f936a4b0 is described below

commit 7f936a4b0a2d0c42f3274bf0b2c9b36da8c365a7
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Thu Oct 20 07:46:16 2022 +0200

    Drops installing rvm
---
 Jenkinsfile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e1a29e778..2f252e62d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,12 +21,10 @@ pipeline {
         sh '''
           echo Generating a new version of website        
 
-          curl -sSL https://get.rvm.io | bash -s -- --path ${RUBY_PATH}
-          mkdir -p ${GEM_HOME}
-
-          gem install --install-dir ${GEM_HOME} bundler -v '2.3.23'
-          
           bundle -v
+          gem install --install-dir ${GEM_HOME} bundler -v '2.3.23'          
+          bundle -v
+
           bundle config set --local path ${GEM_HOME}
           bundle install
           bundle exec jekyll build

Reply via email to