David Nguyen
David Nguyen

Reputation: 3

Jenkins - Cannot proceed with MSBuild

I have worked almost one day with Jenkins to setup for automation publishing an ASP.NET web application. I have got it done in one local virtual machine, but it did not work when I tried with an production server.

Could any one can help or advise me? Here is the console error output:

......
no change for **SVNpath**1 since the previous build
Path To MSBuild.exe: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe
Executing command: cmd.exe /C C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe /t:rebuild D:\JenkinsInstall\jobs\ADDevelopmentPublishing\workspace\Web\ABC\ABC.csproj && exit %%ERRORLEVEL%%
[workspace] $ cmd.exe /C C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe /t:rebuild D:\JenkinsInstall\jobs\ADDevelopmentPublishing\workspace\Web\ABC\ABC.csproj && exit %%ERRORLEVEL%%

The command prompt has been disabled by your administrator.

Press any key to continue . . . 
Build step 'Build a Visual Studio project or solution using MSBuild.' marked build as failure
Finished: FAILURE
------------------

Many Thanks

Upvotes: 0

Views: 803

Answers (1)

fmgp
fmgp

Reputation: 1636

this line: The command prompt has been disabled by your administrator indicates that you are not allowed to launch batch instructions on your server.

Upvotes: 2

Related Questions