This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
commit 35aed72e2078e9b3aaacdb6afba94377b83b34ad Author: lburgazzoli <[email protected]> AuthorDate: Tue Jun 25 14:54:21 2019 +0200 chore(build): enable checkstyle in jenkins and travis --- .travis.yml | 5 +++-- Jenkinsfile | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index def5998..e17473a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ # limitations under the License. # language: java - +jdk: + - openjdk8 script: - - ./mvnw clean install + - ./mvnw clean install -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dcheckstyle.failOnViolation=true -Psourcecheck diff --git a/Jenkinsfile b/Jenkinsfile index 02a8244..0c74fc0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,7 +43,7 @@ pipeline { stages { stage('Test & Install') { steps { - sh "./mvnw $MAVEN_PARAMS clean install -f pom.xml" + sh "./mvnw $MAVEN_PARAMS clean install -Dcheckstyle.failOnViolation=true -Psourcecheck -f pom.xml" } }
