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


The following commit(s) were added to refs/heads/debug-jenkins by this push:
     new d419874  again
d419874 is described below

commit d4198745dafb4e84625a587e3542dfada632f52c
Author: David Grove <[email protected]>
AuthorDate: Sun Jan 15 17:35:34 2023 -0500

    again
---
 tools/jenkins/website_build.groovy | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/jenkins/website_build.groovy 
b/tools/jenkins/website_build.groovy
index a4cad86..7aefb9a 100644
--- a/tools/jenkins/website_build.groovy
+++ b/tools/jenkins/website_build.groovy
@@ -12,8 +12,9 @@ node("git-websites") {
     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}/shims:${RBENV_ROOT}/bin:$PATH
-    eval "$(rbenv init - sh)"
+    eval "$(${RBENV_ROOT}/bin/rbenv init - sh)"
+    git clone https://github.com/rbenv/ruby-build.git "$(rbenv 
root)"/plugins/ruby-build
+    echo $PATH
     rbenv install 3.1.3
     which ruby
     ruby -v 

Reply via email to