![]() |
|
|
|
|
Change By:
|
HEMA RAGHAVENDRA SAI BONTHALA
(24/Dec/14 12:36 AM)
|
|
Environment:
|
Jenkins 1.591 MSBuild Plugin 1.23
|
|
Description:
|
This works for a MSBuild located in
Configure System is showing
the
warning
.
NET folder (4.0) (i.e. no spaces in path) but when using MSBuild 12.0.
Command Line Argument (in Jenkins config): /p:SolutionFileName=Framework.sln;.\VS2010_projects\Framework2010.sln or /p:SolutionFileName="Framework.sln;.\VS2010_projects\Framework2010.sln" (this works at command line when not using cmd /c msbuild.exe ...)
Log in console: Path To MSBuild.exe: C:\Program Files (x86)\MSBuild\12.0\bin\amd64\msbuild.exe Executing
If we remove
the
command cmd.exe /C "C:\Program Files (x86)\
MSBuild
\12
.
0\bin\amd64\msbuild.
exe
" /m /p:SolutionFileName=Framework.sln;.\VS2010_projects\Framework2010.sln ci.msbuild.xml
Error: MSBUILD :
the
error
MSB1006: Property
is
not valid
going away
.
Switch: .\VS2010_projects\Framework2010.sln
Command Line Argument: /p:SolutionFileName='"Framework.sln;.\VS2010_projects\Framework2010.sln"'
Log in console: Path To MSBuild.exe: C:\Program Files (x86)\MSBuild\12.0\bin\amd64\msbuild.exe Executing
But
the
command cmd.exe /C "C:\Program Files (x86)\MSBuild\12.0\bin\amd64\msbuild.exe" /m /p:SolutionFileName="Framework.sln;.\VS2010_projects\Framework2010.sln" ci.msbuild.xml
Error: 'C:\Program'
build
is
not recognized
failing
as
an internal or external command, operable program or batch file.
If "cmd /c" is executed on a command line you need to put an extra quote in front and at end to get i to execute. I cannot come up with a workaround to execute this on Jenkins, and
it is
valid msbuild syntax. Anyone?
Example that works on command line. cmd.exe /C ""C:\Program Files (x86)\
unable to Append
MSBuild
\12
.
0\bin\amd64\msbuild.
exe
" /m /p:
SolutionFileName="Framework
Attached the screenshots for the issue
.
sln;
.
\VS2010_projects\Framework2010
.
sln" ci.msbuild.xml"
|
|
Priority:
|
Major
Minor
|
|
Attachment:
|
ConfigureSystem.png
|
|
Attachment:
|
ConsoleOutput.png
|
|
Attachment:
|
JobConfiguration.png
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.