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:38:06 UTC

[incubator-hop-website] 14/18: Jenkins escaping

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 7c249d5a8b2547786d7e32508ef4b8e582f118fa
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Wed Oct 14 18:24:55 2020 +0200

    Jenkins escaping
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index cf584ce..ad8d29d 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 "$(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)"'