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 8206ee1e6 Uses selinux label on jekyll workdir
8206ee1e6 is described below

commit 8206ee1e600c5ad126b2d0867278e25c259a4e3f
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Wed Oct 12 07:57:40 2022 +0200

    Uses selinux label on jekyll workdir
---
 Jenkinsfile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 1396ab769..b66c477c1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -10,16 +10,12 @@ pipeline {
     disableConcurrentBuilds()
     skipStagesAfterUnstable()
   }
-  environment {
-    GEM_HOME="${env.WORKSPACE_TMP}/gems"
-    PATH="${GEM_HOME}/bin:${env.PATH}"
-  }
   stages {
     stage('Build a staged website') {
       agent {
         docker {
           image 'jekyll/builder:4.2.2'
-          args "-v ${env.WORKSPACE}:/srv/jekyll:rw -v 
${env.WORKSPACE_TMP}:/tmp:rw"
+          args "-v ${env.WORKSPACE}:/srv/jekyll:rw,z -v 
${env.WORKSPACE_TMP}:/tmp:rw,z"
         }
       }
       steps {

Reply via email to