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

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new fff8a54  CAMEL-13753: trigger website build
fff8a54 is described below

commit fff8a54100d027da16dfb019e467a552c284898a
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Tue Jul 23 10:37:08 2019 +0200

    CAMEL-13753: trigger website build
    
    This triggers the build of the website when changes are made to the
    `/docs` directory on `master` branch.
---
 Jenkinsfile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5b904a9..30a47ca 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,7 +31,7 @@ pipeline {
     tools {
         jdk JDK_NAME
     }
-   
+
     environment {
         MAVEN_SKIP_RC = true
     }
@@ -54,6 +54,15 @@ pipeline {
             }
         }
 
+        stage('Website update') {
+            when {
+                branch 'master'
+                changeset "docs/**/*"
+            }
+
+            build 'Camel.website'
+        }
+
         stage('Checks') {
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Psourcecheck 
-Dcheckstyle.failOnViolation=false checkstyle:check"

Reply via email to