You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by ha...@apache.org on 2022/05/19 16:10:32 UTC

svn commit: r1901069 - /clerezza/site/Jenkinsfile

Author: hasan
Date: Thu May 19 16:10:32 2022
New Revision: 1901069

URL: http://svn.apache.org/viewvc?rev=1901069&view=rev
Log:
CLEREZZA-1063: Update Jenkinsfile

Modified:
    clerezza/site/Jenkinsfile

Modified: clerezza/site/Jenkinsfile
URL: http://svn.apache.org/viewvc/clerezza/site/Jenkinsfile?rev=1901069&r1=1901068&r2=1901069&view=diff
==============================================================================
--- clerezza/site/Jenkinsfile (original)
+++ clerezza/site/Jenkinsfile Thu May 19 16:10:32 2022
@@ -12,8 +12,11 @@ pipeline {
                 script {
                     // Checkout branch with generated content
                     sh """
-                        git clone --depth 1 --branch master https://gitbox.apache.org/repos/asf/clerezza.git clerezza.git
+                        if [ ! -d clerezza.git ]; then
+                            git clone --depth 1 --branch master https://gitbox.apache.org/repos/asf/clerezza.git clerezza.git
+                        fi
                         cd clerezza.git
+                        git pull
                         mvn -Psite-build install site -pl '!tutorial'
                         cd ..
                         cp -r clerezza.git/target/site/apidocs/* production/apidocs/latest