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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b13292  SLING-11401 add more output for stashing
6b13292 is described below

commit 6b13292677f81def584b7a46bd5796e2eed5722d
Author: Konrad Windszus <k...@apache.org>
AuthorDate: Tue Jun 28 12:41:58 2022 +0200

    SLING-11401 add more output for stashing
---
 vars/slingOsgiBundleBuild.groovy | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 605360d..ade9cb2 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -172,8 +172,10 @@ def defineStage(def globalConfig, def jobConfig, def 
jdkVersion, boolean isRefer
             archiveArtifacts(artifacts: 
SlingJenkinsHelper.jsonArrayToCsv(jobConfig.archivePatterns), 
allowEmptyArchive: true)
         }
         if ( isReferenceStage && goal == "deploy" && shouldDeploy ) {
+            echo "trying to stash in ${pwd()}"
             // Stash the build results from the local deployment directory so 
we can deploy them on another node
             stash name: 'local-snapshots-dir', includes: 
'target/local-snapshots-dir/**'
+            echo "successfully stashed in ${pwd()}"
         }
     }
     

Reply via email to