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 16:07:31 UTC

[incubator-hop-website] 06/10: Avoid delete of .asf.yaml, use double quotes around sh

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 0e9c30d7423230d7cff21d415fe6072a7c5ddc2f
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Wed Oct 14 15:14:07 2020 +0200

    Avoid delete of .asf.yaml, use double quotes around sh
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 46e836e..177d047 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 !(.asf.yaml)'
+                    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)"'