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

commit 1957761295f8c2764f4aa53756ee3d0cd03a6acf
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Wed Mar 21 10:08:35 2018 +0100

    CAMEL-11930: don't fail on checkstyle
    
    If the checkstyle finds any issues it fails the build. This is not the
    best solution in pipeline builds as later stages are not run. Let's
    report checkstyle issues and continue with the pipeline.
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 49d3b40..4ea8d4d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -46,7 +46,7 @@ pipeline {
 
         stage('Checks') {
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Psourcecheck checkstyle:check"
+                sh "./mvnw $MAVEN_PARAMS -Psourcecheck 
-Dcheckstyle.failOnViolation=false checkstyle:check"
             }
             post {
                 always {

-- 
To stop receiving notification emails like this one, please contact
zregv...@apache.org.

Reply via email to