You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ba...@apache.org on 2020/11/12 20:26:41 UTC

[incubator-hop-docs] 10/37: update repo and trigger website build, exclude asf-ci commits

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

bartmaer pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hop-docs.git

commit 02b9dec00c1135f8ba83daf07f36166009817da7
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Sun Nov 8 15:45:45 2020 +0100

    update repo and trigger website build, exclude asf-ci commits
---
 Jenkinsfile | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 3723114..2f75bdf 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,6 +54,7 @@ pipeline {
         stage('checkout Hop Code') {
             when {
                 branch 'master'
+                not { triggeredBy cause: "UserIdCause", detail: "asf-ci" }
             }
             steps {
                 dir('hop') {
@@ -65,6 +66,7 @@ pipeline {
         stage('Copy project docs') {
             when {
                 branch 'master'
+                not { triggeredBy cause: "UserIdCause", detail: "asf-ci" }
             }
             steps {
                     sh 'mkdir ./tmp'
@@ -74,6 +76,7 @@ pipeline {
         stage('Process Docs') {
             when {
                 branch 'master'
+                not { triggeredBy cause: "UserIdCause", detail: "asf-ci" }
             }
             steps {
                 echo 'Adding new Files from Hop'
@@ -96,10 +99,20 @@ pipeline {
                 sh './generate_navigation.sh'
                 sh 'git add .'
                 sh 'git commit -m "Documentation updated to $GIT_COMMIT"'
-                //sh 'git push --force origin master'
+                sh 'git push --force origin master'
+            }
+        }
+        stage('Website update') {
+            when {
+                branch 'master'
+                not { triggeredBy cause: "UserIdCause", detail: "asf-ci" }
+            }
+            steps {
+                build job: 'Hop/Hop-website/master', wait: false
             }
         }
     }
+    
     post {
         always {
             cleanWs()