You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2022/06/28 11:24:23 UTC

[sling-tooling-jenkins] branch master updated: SLING-11401 unstash in the correct location

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 a412cae  SLING-11401 unstash in the correct location
a412cae is described below

commit a412caeaadabc659d4cf824c4ee1784afb204237
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Jun 28 13:24:17 2022 +0200

    SLING-11401 unstash in the correct location
---
 vars/slingOsgiBundleBuild.groovy | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 12d4a81..a8a1aed 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -251,10 +251,8 @@ def deployToNexus(def globalConfig) {
             deleteDir()
             // Nexus deployment needs pom.xml
             checkout scm
-            dir('target') {
-                // Unstash the previously stashed build results.
-                unstash name: 'local-snapshots-dir'
-            }
+            // Unstash the previously stashed build results.
+            unstash name: 'local-snapshots-dir'
             // https://www.mojohaus.org/wagon-maven-plugin/merge-maven-repos-mojo.html
             static final String WAGON_PLUGIN_GAV = "org.codehaus.mojo:wagon-maven-plugin:2.0.2"
             String mavenArguments = "${WAGON_PLUGIN_GAV}:merge-maven-repos -Dwagon.target=https://repository.apache.org/content/repositories/snapshots -Dwagon.targetId=apache.snapshots.https -Dwagon.source=file:${pwd()}/local-snapshots-dir"