This is an automated email from the ASF dual-hosted git repository. dgrove pushed a commit to branch debug-jenkins in repository https://gitbox.apache.org/repos/asf/openwhisk-website.git
commit 3eafb6d944396ef8aed951c5bdcc4f0dd4af352c Author: David Grove <[email protected]> AuthorDate: Fri Sep 2 17:38:23 2022 -0400 try rbenv --- tools/jenkins/website_build.groovy | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tools/jenkins/website_build.groovy b/tools/jenkins/website_build.groovy index 9c35f7e..e56e9c3 100644 --- a/tools/jenkins/website_build.groovy +++ b/tools/jenkins/website_build.groovy @@ -9,10 +9,16 @@ node("git-websites") { pwd env export - echo "Set ruby path to avoid writing to /usr directory" - export RUBY_PATH=${WORKSPACE}/shared/.rvm - export GEM_HOME=${RUBY_PATH}/gems - curl -sSL https://get.rvm.io | bash -s -- --path ${RUBY_PATH} + echo "Install rbenv into the workspace" + export RBENV_ROOT=${WORKSPACE}/shared/.rbenv + git clone https://github.com/rbenv/rbenv.git ${RBENV_ROOT} + export PATH=${RBENV_ROOT}/bin:$PATH + curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash + exit 1 + + + + which ruby ruby -v mkdir -p ${GEM_HOME}/gems
