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 02dba2cec List folders after Docker ends
02dba2cec is described below

commit 02dba2cecdb914fec6a3d56ef76b8eb20fd12ce1
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Fri Oct 14 08:14:43 2022 +0200

    List folders after Docker ends
---
 Jenkinsfile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 23f155dcd..7d250ed64 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,15 +27,19 @@ pipeline {
           bundle install
           bundle exec jekyll build
           
+          pwd
           ls -la
         '''
       }
     }
     stage('Deploy to stage area') {
       steps {
-        sh """
+        sh '''
           echo "Pushing changes into stage site"
 
+          pwd
+          ls -la
+          
           if ! git config remote.asf.url > /dev/null; then
             git remote add asf 
https://gitbox.apache.org/repos/asf/struts-site.git
           fi
@@ -43,7 +47,9 @@ pipeline {
           git fetch asf
           git checkout asf-staging
           git pull asf asf-staging
-
+          
+          ls -la
+          
           cp -r _site/* content
           cp -r _site/.htaccess content/.htaccess
 
@@ -53,7 +59,7 @@ pipeline {
 
           git commit -m "Updates stage by Jenkins" --allow-empty
           git push asf asf-staging
-        """
+        '''
       }
     }
     stage('Comment on PR') {

Reply via email to