Hi

in CCNet 1.6 I have the following setup for a tfs project

        <sourcecontrol type="vsts">
            <workspace>wsp</workspace>
            <project>$/yourTFSProject/Main</project>
            <server>http://tfsServer:8080/tfs/default/</server>
            <username>John</username>
            <password>Wayn</password>
            <domain>Texas</domain>
            <autoGetSource>true</autoGetSource>
            <cleanCopy>true</cleanCopy>
            <force>true</force>
            <deleteWorkspace>true</deleteWorkspace>
         </sourcecontrol>

and this one works

I think the following is a problem in your config :
<sourceControls>
<vsts>

these elements do not exist, unless you have one kind of plugin that
requires this syntax.
CCNet 1.6 supports TFS out of the box.



with kind regards
Ruben Willems


On 6 September 2011 18:37, Miked348 <[email protected]> wrote:

> Running a working CC.net v1.5 instance with Subversion. Just deployed
> TFS-2010 and want to first perform all builds using same Cruise Control but
> change configuration (ccnet.config..xml) to use VSTS Control Block built in
> to v1.5 hence no need for the plug-in.
>
> Configuration Validation fails as follows:
>
> Missing Xml node (project) for required member
> (ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.ProjectPath)
>
>
> My config entry for VSTS as follows:
>
> <sourcecontrol type="vsts">
> <sourceControls>
> <vsts>
> <server>tfs.serve.com:80/tfs/DefaultCollection</server><http://tfs.serve.com:80/tfs/DefaultCollection%3C/server%3E>
> <sourceControlProvider type="vsts" autoGetSource="true" applyLabel="true">
> <executable>C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\TF.exe</executable>
> <domain>GRATISCARD</domain>
> <project>$\Serve6/Main/Main/src/dotnet/DEV2/ISO8583Integration</project>
> <trunkUrl>tfs.serve.com/tfs/web/Serve6/Main/Main/s...ion</trunkUrl><http://tfs.serve.com/tfs/web/Serve6/Main/Main/src/dotnet/DEV2/ISO8583Integration%3C/trunkUrl%3E>
> <timeout>10000000</timeout>
>
> <workingDirectory>C:\repos\revolution\DEV2\ISO8583Integration</workingDirectory>
> <cleanCopy>false</cleanCopy
> </sourceControlProvider>
> </vsts>
>
> Tried running same config on v1.6 but got same error.
>
>
> -----mikeD
>

Reply via email to