This is an automated email from the ASF dual-hosted git repository. mcasters pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/incubator-hop-docs.git
commit e21995ac280c51889e453f58192f436da8c880b1 Author: Hans Van Akelyen <[email protected]> AuthorDate: Sun Nov 8 19:35:41 2020 +0100 cleanup and avoid fail --- Jenkinsfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fc05712..382a0b3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,7 +42,6 @@ pipeline { stage('checkout Hop Code') { when { branch 'asf-site' - //not { triggeredBy cause: "UserIdCause", detail: "asf-ci" } } steps { dir('hop') { @@ -54,7 +53,6 @@ pipeline { stage('Copy project docs') { when { branch 'asf-site' - //not { triggeredBy cause: "UserIdCause", detail: "asf-ci" } } steps { sh 'mkdir ./tmp' @@ -64,7 +62,6 @@ pipeline { stage('Process Docs') { when { branch 'asf-site' - //not { triggeredBy cause: "UserIdCause", detail: "asf-ci" } } steps { echo 'Adding new Files from Hop' @@ -100,15 +97,14 @@ pipeline { sh "cp -R $WORKSPACE/hop-tech-manual/. ./hop-tech-manual/" sh "cp -R $WORKSPACE/hop-user-manual/. ./hop-user-manual/" sh 'git add .' - sh 'git commit -m "Documentation updated to $(git rev-parse --short HEAD)"' - sh 'git push origin asf-site' + sh 'git commit -m "Documentation updated to $(git rev-parse --short HEAD)" || echo' + sh 'git push origin asf-site || echo' } } } stage('Website update') { when { branch 'asf-site' - //not { triggeredBy cause: "UserIdCause", detail: "asf-ci" } } steps { build job: 'Hop/Hop-website/master', wait: false
