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/11/08 14:07:58 UTC

[incubator-hop-docs] branch master updated: cleaup path and add git add

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-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 405a6bb  cleaup path and add git add
405a6bb is described below

commit 405a6bbddee5d1e1b5f4cb5a1a19c383364a1277
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Sun Nov 8 15:07:49 2020 +0100

    cleaup path and add git add
---
 Jenkinsfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0658671..af75117 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -68,7 +68,8 @@ pipeline {
             }
             steps {
                     sh 'mkdir ./tmp'
-                    sh "find ./hop -name '*.adoc' -exec cp -prv --parents '{}' './tmp/' ';'"
+                    sh 'cd hop'
+                    sh "find . -name '*.adoc' -exec cp -prv --parents '{}' '../tmp/' ';'"
             }
         }
         stage('Process Docs') {
@@ -90,7 +91,7 @@ pipeline {
                     rm -rf ./tmp
                     rm -rf ./hop
                 '''
-                //sh 'git add .'
+                sh 'git add .'
                 //sh 'git commit -m "Documentation updated to $GIT_COMMIT"'
                 //sh 'git push --force origin master'
             }