You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/11/29 10:20:48 UTC

[incubator-plc4x] branch develop updated: - Added a cleanup before un-stashing the snapshots to hopefully reduce the deploy-time as currently all previous snapshot versions were deployed too.

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 85e1cc4  - Added a cleanup before un-stashing the snapshots to hopefully reduce the deploy-time as currently all previous snapshot versions were deployed too.
85e1cc4 is described below

commit 85e1cc48d510b415701505a562e7e66a82e3acb1
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Thu Nov 29 11:20:45 2018 +0100

    - Added a cleanup before un-stashing the snapshots to hopefully reduce the deploy-time as currently all previous snapshot versions were deployed too.
---
 Jenkinsfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index fcfb0ed..a500577 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -147,6 +147,10 @@ pipeline {
             }
             steps {
                 echo 'Deploying'
+                // Clean up the snapshots directory.
+                dir("plc4x-build-snapshots") {
+                    deleteDir()
+                }
                 // Unstash the previously stashed build results.
                 unstash name: 'plc4x-build-snapshots'