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-website.git
The following commit(s) were added to refs/heads/master by this push:
new 04fed63 fix: clean Jenkins workspace
04fed63 is described below
commit 04fed63493e75c2e04c1ee2880c0b2c5f683dcd3
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue Feb 18 16:06:29 2020 +0100
fix: clean Jenkins workspace
Seems that a pull request generated some files in the workspace that are
now causing build failures. This will clean the workspace in a post
build step (always).
This should be removed if the build after the workspace is cleaned
succeeds, we cache node packages and git data in the worksapce, having
the workspace cleaned on every build would increase the build times.
---
Jenkinsfile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 486a0c9..7516847 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -127,4 +127,11 @@ pipeline {
}
}
}
+
+ // temporary to clean the workspace, to be removed to help with caching
+ post {
+ always {
+ cleanWs()
+ }
+ }
}