Jenkins ver. 2.7.1 Zip File permissions lost on Windows

19 views
Skip to first unread message

Nicolas Barlatier

unread,
Jul 21, 2016, 9:38:38 AM7/21/16
to Jenkins Users
Hello all I need your help for an annoying side effect of Jenkins, 


when I do 

C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe ${WORKSPACE}\XTR\tools\PNRViewer\PNRViewSln\Misterfly.PNRView\Misterfly.PNRView.csproj /p:VisualStudioVersion=12.0 /property:NugetDir="C:\Builds" /p:Configuration=DEBUG /p:DeployIisAppPath="PNRView"
 /T:Package /P:Configuration=Debug /P:PackageLocation="C:\Build\Nico.zip"

I got the zip file expected but it doesn't have any permission, not even read....

When I launched in CMD MS-DOS directely

C:\Users\nbarlatier>"c:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe" "c:\Bu
ilds\PnrViewer\workspace\XTR\tools\PNRViewer\PNRViewSln\Misterfly.PNRView\Mister
fly.PNRView.csproj" /p:VisualStudioVersion=12.0 /property:NugetDir="C:\Builds" /
p:Configuration=DEBUG /p:DeployIisAppPath="PNRView" /T:Package /P:Configuration=
Debug  /P:PackageLocation="C:\zip\Nico.zip

the zip file is ok, so it must be Jenkins which removes the permissions....

could you help us figure out why Jenkins removes the file permissions and how to prevent this problem??

Thank you for your help :)

Nicolas
Reply all
Reply to author
Forward
0 new messages