Jenkins ver. 2.7.1 Permissions Lost in Zip File

已查看 14 次
跳至第一个未读帖子

Nicolas Barlatier

未读,
2016年7月21日 09:54:162016/7/21
收件人 Jenkins Developers
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

Daniel Beck

未读,
2016年7月21日 12:57:562016/7/21
收件人 jenkin...@googlegroups.com

> On 21.07.2016, at 15:54, Nicolas Barlatier <barlatie...@gmail.com> wrote:
>
> it must be

Is Jenkins running as the same user?

What happens when the same user as Jenkins runs the script non-interactively, e.g. from Task Scheduler?

Nicolas Barlatier

未读,
2016年7月25日 11:30:282016/7/25
收件人 Jenkins Developers、m...@beckweb.net
Hi Daniel thanks for your help

I use my user account, and launch the build manually.

Do I have to check something special in the security of my user?

Thanks again
回复全部
回复作者
转发
0 个新帖子