commit | 6f9f848b648908c278db8a7f5f748e41d2d9e6e2 | [log] [tgz] |
---|---|---|
author | Luca Prete <luca@onlab.us> | Fri Mar 10 16:46:20 2017 -0800 |
committer | Luca Prete <luca@onlab.us> | Fri Mar 10 16:46:20 2017 -0800 |
tree | 1a4b97c3921895d29b3d8eaebbaa7231aee46cb3 | |
parent | e2b36202998f2e37916979cb1d2356bdf83b4fce [diff] |
Adding step to remove config directory when deployment fails or ends Change-Id: I4f04408fc35f64e64c3b1155bba7fd157345d801
diff --git a/Jenkinsfile b/Jenkinsfile index 55f10d2..f725f33 100644 --- a/Jenkinsfile +++ b/Jenkinsfile
@@ -113,6 +113,7 @@ step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "${notificationEmail}", sendToIndividuals: false]) } finally { sh 'vagrant destroy -f corddev' + sh 'rm -rf config/pod-configs' } echo "RESULT: ${currentBuild.result}" }