You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2020/10/14 19:28:29 UTC

[incubator-hop-website] branch master updated: Add ignore unmatch

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

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b41674  Add ignore unmatch
7b41674 is described below

commit 7b416741c409b150de64a5e251a20345d865d3e2
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Wed Oct 14 21:28:15 2020 +0200

    Add ignore unmatch
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index ad8d29d..7e09644 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -110,7 +110,7 @@ pipeline {
                 dir('deploy/staging') {
                     deleteDir()
                     sh 'git clone -b asf-site https://gitbox.apache.org/repos/asf/incubator-hop-website.git .'
-                    sh 'git rm -f "$(find . -not -path \'*/\\.*\' -type f  \\( ! -iname \".*\" \\))"'
+                    sh 'git rm -f --ignore-unmatch "$(find . -not -path \'*/\\.*\' -type f  \\( ! -iname \".*\" \\))"'
                     sh "cp -R $WORKSPACE/hop-website/public/. ."
                     sh 'git add .'
                     sh 'git commit -m "Website updated to $(git rev-parse --short HEAD)"'