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 5172cafd6 Installs gems
5172cafd6 is described below

commit 5172cafd66d38f3caa615909338a0fe95a1969ae
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Fri Oct 7 09:27:14 2022 +0200

    Installs gems
---
 Jenkinsfile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6c8317b2c..ef6aea419 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,13 +16,9 @@ pipeline {
   }
   stages {
     stage('Build a staged website') {
-      agent {
-        docker {
-          image 'jekyll/builder:4.2.2'
-        }
-      }
-      steps {
+      docker.image('jekyll/builder:4.2.2').inside('-v $WORKSPACE:/srv/jekyll') 
{
         sh """
+          bundle install
           jekyll build
         """
       }

Reply via email to