1
votes

We have a project in TFS which uses GIT.

There is a build definition setup and under 'Edit Build Definition' | 'Source Settings', I can see the option 'Get sources from a Team Foundation Git repository'.

I've cloned the build definition (Right click | Clone build definition). I select 'Edit Build Definition' on the cloned build and under 'Source Settings' there is no 'Get sources from a Team Foundation Git repository' tick box. Instead I can see 'working folders' with 'Status', 'Source Control Folder' and 'Build Agent folder'.

Any idea why I cant select the git source settings?

All the other settings are identical minus the name.

1
Same problem here - after cloning the build definition the Source Settings view is screwed up/missing the git specific settings.cacau

1 Answers

1
votes

I've just run into this issue.

'Clone build definition' is a feature from the Productivity Power Tools extension and therein lies the problem. You need to install the Community Build Manager extension and clone with that:

VS2012 VS2013

Once installed go to 'Tools > Community TFS Build Manager' to view the existing definitions. You can clone from there. Cloning 'To Project' seems to be akin to the Power Tools clone feature.

Note: I uninstalled Power Tools before installing CBM for 2013 but I don't know if this is necessary.