New answers tagged tfs
I found answer to this. Added BuildDirectory as an argument to the activity. and set it's value to Microsoft.TeamFoundation.Build.Activities.Extensions.WellKnownEnvironmentVariables.BuildDirectory
It really depends on what solution do you build (farm solutions or SharePoint apps) and what is your staging or testing environment (SharePoint on-premises or O365). Here is some link that could help: SharePoint 2013 Continues Integration with TFS 2013 Release and Build Management ALM for SharePoint Apps: Configuring a TFS Build Server with Team Foundation ...
You should configure a build server for your TFS, and set up your SharePoint solution in Visual Studio to use this build server for automated builds. As starting point you can use these posts here and here, and the CodePlex project here.
Use an Event receive and simply use the code to make an entry to TFS. Below URLs might help http://stackoverflow.com/questions/27324161/insert-work-item-into-tfs-using-tfs-api https://social.msdn.microsoft.com/Forums/vstudio/en-US/1ff5415e-0ef2-4c65-b0b7-a109187adf51/create-work-item-in-team-project-tfs-using-c-code?forum=tfsgeneral
Top 50 recent answers are included