Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Problem constructing Team Build 2008 command line (https://www.kinook.com/Forum/showthread.php?t=3719)

lherz 07-22-2008 09:33 AM

Problem constructing Team Build 2008 command line
 
I am trying to call a team build 2008 project with the Team Build step in v6.7, and am getting the following error with the resulting command line: (I have sanitized the command line to remove sensitive data replacing it with angle bracketed placeholders)

"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\TFSBuild.exe" start "http://:8080" "$//TeamBuild/Types/" "" /queue /getoption Custom /customgetversion T /priority Normal /requestedfor
Microsoft (R) TfsBuild Version 9.0.0.0
for Microsoft Visual Studio Team System 2008
Copyright (c) Microsoft Corporation. All rights reserved.

Option getoption requires a value.

Process completed with exit code 100

I also receive an error if I define a build directory or build machine.
When including a build directory (drop location) the command line generated includes a "/d:" parameter which the team build does not recognise. In looking at the comment line options for TFSBuild.exe 2008, I see a /dl: listed for drop location.

Adding a build machine option generates an /m: parameter on teh comment line, for which there is no apparent equivelent in TFSBuild 2008.


Any assistance will be greatly appreciated.

kinook 07-22-2008 09:58 AM

Re: Problem constructing Team Build 2008 command line
 
Quote:

Originally posted by lherz
I am trying to call a team build 2008 project with the Team Build step in v6.7, and am getting the following error with the resulting command line: (I have sanitized the command line to remove sensitive data replacing it with angle bracketed placeholders)

"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\TFSBuild.exe" start "http://:8080" "$//TeamBuild/Types/" "" /queue /getoption Custom /customgetversion T /priority Normal /requestedfor
Microsoft (R) TfsBuild Version 9.0.0.0
for Microsoft Visual Studio Team System 2008
Copyright (c) Microsoft Corporation. All rights reserved.

Option getoption requires a value.

Process completed with exit code 100

Install v6.7a.
http://www.kinook.com/Forum/showthre...?threadid=3715

Quote:

I also receive an error if I define a build directory or build machine.
When including a build directory (drop location) the command line generated includes a "/d:" parameter which the team build does not recognise. In looking at the comment line options for TFSBuild.exe 2008, I see a /dl: listed for drop location.

According to http://msdn.microsoft.com/en-us/library/ms181742.aspx, /droplocation can be abbreviated as /d. If the documentation is wrong, a workaround would be to clear out the Build directory field and add the /dl: flag to the Additional options field on the Options tab.

Quote:

Adding a build machine option generates an /m: parameter on teh comment line, for which there is no apparent equivelent in TFSBuild 2008.
Only Team Build 2005 supports that field/flag. Maybe this is stored in the build definition in 2008?

lherz 07-22-2008 02:44 PM

Thanks for you quick response. I downloaded 6.7a and that resolved the colon issues. The /d does not work, but your workaround does. Again thank you.

Thanks again for your quick response.

lherz 07-22-2008 02:47 PM

One thing I missed in my last port. I had misread the document on using /dl: The parameter that works is /dropLocation: the /d shortcut does not work.

Thanks.


All times are GMT -5. The time now is 11:15 PM.


Copyright © 1999-2023 Kinook Software, Inc.