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 2a9920b64 Sets Bundler global path variable 2a9920b64 is described below commit 2a9920b644393b586b77b6212b53af3e14f013b9 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Fri Oct 7 10:29:15 2022 +0200 Sets Bundler global path variable --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9a885643e..1396ab769 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ pipeline { agent { docker { image 'jekyll/builder:4.2.2' - args "-v ${env.WORKSPACE}:/srv/jekyll -v ${env.WORKSPACE_TMP}:/tmp" + args "-v ${env.WORKSPACE}:/srv/jekyll:rw -v ${env.WORKSPACE_TMP}:/tmp:rw" } } steps { @@ -28,7 +28,8 @@ pipeline { export GEM_HOME="$RUBY_PATH/gems" export PATH="$GEM_HOME/bin:$PATH" - bundle install --path $GEM_HOME + bundle config set --local path $GEM_HOME + bundle install bundle exec jekyll build ''' }