-
Improvement
-
Resolution: Fixed
-
Critical
-
None
Issue created because of some comments (https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin?focusedCommentId=58003116#comment-58003116) and my own needs.
Example content inside this directory distribution/target/distribution-0.0.1-SNAPSHOT-bin/cdInstallation/**
- testDir/testFile1.txt
- testFile2.txt
Files to deploy distribution/target/distribution-0.0.1-SNAPSHOT-bin/cdInstallation/
Remote directory \\some-server\Staging\some-directory\CD-Installation-$BUILD_ID
The expected result in Remote directory \\some-server\Staging\some-directory\CD-Installation-$BUILD_ID is
- testDir/testFile1.txt
- testFile2.txt
A deploy with release 0.16 results in this content of Remote directory \\some-server\Staging\some-directory\CD-Installation-$BUILD_ID is
- distribution/target/distribution-0.0.1-SNAPSHOT-bin/cdInstallation/testDir/testFile1.txt
- distribution/target/distribution-0.0.1-SNAPSHOT-bin/cdInstallation/testFile2.txt
and if the flatten option is used I would get also not the expected content of Remote directory \\some-server\Staging\some-directory\CD-Installation-$BUILD_ID because the testDir is gone.
- testFile1.txt
- testFile2.txt