【发布时间】:2017-10-04 03:40:17
【问题描述】:
我是 Jenkins 的新手,最近 Server windows 2008 R2 更新了一些补丁。在此之前,Jenkins 工作正常,但现在每当我通过 Jenkins 进行部署时,都会出现以下错误。
它似乎与权限有关吗?
但是我需要在哪里授予什么类型的权限?
/C C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe /nologo /v:q /property:configuration=Dev /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=False /p:MsDeployPublishMethod=WMSvc /p:MsDeployServiceUrl=https://<URL>/MSDeploy.axd /p:DeployIisAppPath=DEV_BackAPI /p:AllowUntrustedCertificate=True /p:Username=SYS_NAME\USER_PRODirectTest /p:Password=PASSWORD BACKAPI.sln && exit %%ERRORLEVEL%%
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4253,5): msdeploy error ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER: Web deployment task failed. (Unable to perform the operation ("Delete Directory") for the specified directory ("4_0_30319"). This can occur if the server administrator has not authorized this operation for the user credentials you are using. [C:\Program Files (x86)\Jenkins\jobs\FA BEAPI - DEV\workspace\PRO.BACKAPI\PRO.BACKAPI.csproj]
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4253,5): msdeploy error ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER: Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER.) [C:\Program Files (x86)\Jenkins\jobs\FA BEAPI - DEV\workspace\PRO.BACKAPI\Falck.BACKAPI.csproj]
Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure
【问题讨论】:
标签: jenkins visual-studio-2012 msbuild