-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
Windows Server 2008 R2, but should be happen on every windows machine
I want to compress my builded stuff with:
"D:\Program Files\7-Zip\7z" a -o"H:\Jenkins\userContent%JOB_NAME%" -t7z %JOB_NAME%%DATE%TIME%.7z %OUT%*
%OUT% is defined with Environment Injector Plugin as:
OUT=H:\xxx\outcoming
The problem is now when that the two last arguments are glued together. It make no diference when I use "". See in console log:
[7zJob] $ cmd /c call C:\Temp\2\hudson6168166103844254818.bat
H:\Jenkins\workspace\7zJob>"D:\Program Files\7-Zip\7z" a -o"H:\Jenkins\userContent\7zJob" -t7z 7zJob_TIMEOUT*
7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Scanning
Creating archive 7zJob_TIMEOUT*.7z
Error:
7-Zip cannot open file
7zJob_TIMEOUT*.7z
The filename, directory name, or volume label syntax is incorrect.
System error:
Unspecified error
H:\Jenkins\workspace\7zJob>exit 2