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 18:37:57 UTC

[incubator-hop-website] 05/18: Avoid delete of .asf.yaml

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

commit 821752ffea6d194898084aa338b92c53c5b31a41
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Wed Oct 14 15:03:08 2020 +0200

    Avoid delete of .asf.yaml
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index d6c4fa6..46e836e 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 -r *'
+                    sh 'git rm -r !(.asf.yaml)'
                     sh "cp -R $WORKSPACE/hop-website/public/. ."
                     sh 'git add .'
                     sh 'git commit -m "Website updated to $(git rev-parse --short HEAD)"'