aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-distribution-ci/src
diff options
context:
space:
mode:
authorPavel Aharoni <pa0916@att.com>2017-05-18 13:07:44 +0300
committerPavel Aharoni <pa0916@att.com>2017-05-18 13:07:44 +0300
commit0334ca30e848fb2465e556d924675aec38f48c11 (patch)
treedde5c9f70b7dcbe3acd3d80fa35d9645246accb7 /sdc-distribution-ci/src
parente82432429b960c9de5be12360bded3e89c45ead3 (diff)
[SDC-22] DC artifact name fix
Change-Id: I63dbb04c8d7ab96dc48ba8dae9661f278080c4d4 Signed-off-by: Pavel Aharoni <pa0916@att.com>
Diffstat (limited to 'sdc-distribution-ci/src')
-rw-r--r--sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java b/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java
index d5ef6cd..f78a38b 100644
--- a/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java
+++ b/sdc-distribution-ci/src/main/java/org/openecomp/test/AdvanceCallBack.java
@@ -58,8 +58,8 @@ public class AdvanceCallBack extends SimpleCallback{
protected void saveArtifactPayloadToDisk(IDistributionClientDownloadResult downloadResult) {
System.out.println("################ Downloaded Artifact Payload Start ################");
- String fileName = downloadResult.getArtifactName().replaceAll("attachment; filename=","");
- saveFile(downloadResult.getArtifactPayload(), fileName.replaceAll("\"", ""));
+ String fileName = downloadResult.getArtifactFilename();
+ saveFile(downloadResult.getArtifactPayload(), fileName);
System.out.println("################ Downloaded Artifact Payload End ################");
}