This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch results
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/results by this push:
     new aeda31d99 Cleans up workspace and add missing git user data
aeda31d99 is described below

commit aeda31d99c9f024d8ffe24e0c5166dfacfa22554
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Fri Oct 14 08:33:00 2022 +0200

    Cleans up workspace and add missing git user data
---
 Jenkinsfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index b35e8ade5..68e5d9af7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,12 +27,17 @@ pipeline {
           bundle install
           bundle exec jekyll build
 
+          rm -rf $GEM_HOME
+
           echo "Pushing changes into stage site"
           
           if ! git config remote.asf.url > /dev/null; then
             git remote add asf 
https://gitbox.apache.org/repos/asf/struts-site.git
           fi
 
+          git config --global user.email "jenk...@apache.org"
+          git config --global user.name "Mr. Jenkins"
+          
           git fetch asf
           git checkout asf-staging
           git pull asf asf-staging

Reply via email to