You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2023/01/15 22:27:55 UTC

[openwhisk-website] branch debug-jenkins updated: again

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 ad2af64  again
ad2af64 is described below

commit ad2af649d2ff81d6cd13a32f8ac409b55ce175cc
Author: David Grove <gr...@us.ibm.com>
AuthorDate: Sun Jan 15 17:27:41 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 4071256..a4cad86 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:$PATH
-    ${RBENV_ROOT}/bin/rbenv install 3.1.3
+    export PATH=${RBENV_ROOT}/shims:${RBENV_ROOT}/bin:$PATH
+    eval "$(rbenv init - sh)"
+    rbenv install 3.1.3
     which ruby
     ruby -v 
     gem install bundler