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/12/09 19:41:05 UTC
[incubator-plc4x] branch develop updated: Tried figuring out how to
clear the stash
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 6fb2583 Tried figuring out how to clear the stash
6fb2583 is described below
commit 6fb2583861581c8e047c74484373d530f9595ac6
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun Dec 9 20:41:01 2018 +0100
Tried figuring out how to clear the stash
---
Jenkinsfile | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 99a75f8..49aae59 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -64,6 +64,12 @@ pipeline {
steps {
echo 'Cleaning up the workspace'
deleteDir()
+
+ // Clean up the snapshots directory.
+ dir("local-snapshots-dir/") {
+ deleteDir()
+ }
+
}
}
@@ -116,7 +122,6 @@ pipeline {
}
}
- // Disabled till auth issues are resolved on infra.
stage('Code Quality') {
when {
branch 'develop'
@@ -142,11 +147,14 @@ pipeline {
steps {
echo 'Deploying'
// Clean up the snapshots directory.
- dir("./local-snapshots-dir") {
+ dir("local-snapshots-dir/") {
deleteDir()
}
+
// Unstash the previously stashed build results.
- unstash name: 'plc4x-build-snapshots'
+ dir("hurz") {
+ unstash name: 'plc4x-build-snapshots'
+ }
// Deploy the artifacts using the wagon-maven-plugin.
sh 'mvn -f jenkins.pom -X -P deploy-snapshots wagon:upload'