This is an automated email from the ASF dual-hosted git repository.
acosentino 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 b84609e Jenkinsfile: Workspace cleanup as pre-step
b84609e is described below
commit b84609ec300a22aec138855931f0ab13fbfe2f06
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed May 6 09:16:01 2020 +0200
Jenkinsfile: Workspace cleanup as pre-step
---
Jenkinsfile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 2c6a0ae..a477877 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,6 +43,12 @@ pipeline {
disableConcurrentBuilds()
}
+ pre {
+ always {
+ cleanWs()
+ }
+ }
+
stages {
stage('Build & Deploy') {