You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/02/19 09:24:01 UTC
[camel] 01/01: CAMEL-11930: cache checkstyle cache
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git
commit e67abb1abee3c390aa77eab54e36e33e37861098
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Feb 19 10:23:46 2018 +0100
CAMEL-11930: cache checkstyle cache
This caches checkstyle cache file between builds in order to speed up
the Checks stage.
---
Jenkinsfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 36f92dd..ca6112a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -39,7 +39,9 @@ pipeline {
stage('Checks') {
steps {
- sh "./mvnw $MAVEN_PARAMS -Psourcecheck checkstyle:check"
+ cache(path: env.WORKSPACE, includes: '**/target/checkstyle-cachefile') {
+ sh "./mvnw $MAVEN_PARAMS -Psourcecheck checkstyle:check"
+ }
}
post {
always {
--
To stop receiving notification emails like this one, please contact
zregvart@apache.org.