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 4e73c4a CAMEL-11930: reversed order of Checks and Build... 4e73c4a is described below commit 4e73c4acd723c5304454db743de63f738636a51d Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Mon Feb 19 12:41:02 2018 +0100 CAMEL-11930: reversed order of Checks and Build... ... stages We need the artifacts to be installed in the local repository before running code style checks, otherwise the build will fail on a starter for the a newly added component. --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 36f92dd..9fe5deb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,6 +37,12 @@ pipeline { stages { + stage('Build') { + steps { + sh "./mvnw $MAVEN_PARAMS -Dnoassembly -Dmaven.test.skip.exec=true -Dmaven.install.skip=true clean install" + } + } + stage('Checks') { steps { sh "./mvnw $MAVEN_PARAMS -Psourcecheck checkstyle:check" @@ -48,12 +54,6 @@ pipeline { } } - stage('Build') { - steps { - sh "./mvnw $MAVEN_PARAMS -Dnoassembly -Dmaven.test.skip.exec=true -Dmaven.install.skip=true clean install" - } - } - stage('Test') { steps { sh "./mvnw $MAVEN_PARAMS -Pintegration -Dnoassembly -Dmaven.test.failure.ignore=true test" -- To stop receiving notification emails like this one, please contact zregv...@apache.org.