I found out the issue. Here's a patch for it:

From 1515671039082546ba42a2739f3d079c556ac5c7 Mon Sep 17 00:00:00 2001
From: Pedro Rodriguez <[email protected]>
Date: Mon, 4 Mar 2013 14:16:37 -0500
Subject: [PATCH] Fixed bug that caused all files to be saved as *.tar.gz even
is ZIPPED was selected


.../plugins/cloneworkspace/CloneWorkspaceUtil.java | 5 +++--
1 files changed, 3 insertions, 2 deletions

diff --git a/src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java b/src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java
index 1acff77..4ac5712 100644
— a/src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java
+++ b/src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java
@@ -95,9 +95,10 @@ public class CloneWorkspaceUtil {

public static String getFileNameForMethod(String method)
{

  • if (method == "ZIP")
    Unknown macro: {+ if (method.equals("ZIP")) { return "workspace.zip"; - } else { + }+ else { return "workspace.tar.gz"; } }

    • 1.7.4.4
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to