I have updated CRMCommandLineUtilities to support CRM 2013 Online deployment automation with TFS. This was a codeplex project by Ryan Corrigal which helped me a lot to implement CRM 2011 on premises automated deployments with TFS.
You can find the updated command line utilities @ http://sdrv.ms/1h9lzJW (Code is not yet perfect since some hardcoded values for timeouts.)
To use this easily with TFS build, in the LabDefaultTemplate deployment step, use the command
cmd /c $(BuildLocation)\Deploy_QA.bat $(BuildLocation)
Or if you are using TFS 2013, you can directly execute PowerShell script from the build to invoke command line utilities for CRM.
More information on Zip Files with builds and Deployment Scripts are in my previous posts
Useful Powershell Scripts and .bat files are here
http://sdrv.ms/1bKdCmM, http://sdrv.ms/1bKdTpF, http://sdrv.ms/1bKdZh0
I will update more usage info in future posts. The final goal would be to achieve something similar to below.
The error messages displayed in the build screenshot above are handled and they are coming when verifying the async process status, due to CRM online service sql timeouts. But this is ok since the import continues and finally status check confirms 30 for process succeeded. Immediately afterwards Publish attempt may fail and I have introduced retry mechanism to make sure publish successful.
It is great if the latest updates to TFS can be applied as and when they are released. But for a large organization it might not be sometime...
SQL Server Integration Services (SSIS) projects can be created to perform ETL (Extract Transform and Load) operations. As Implementing of Co...
Generally windows services are deployed by creating an msi installer. It is possible to deploy msi via VSTS/TFS release management using the...
In modern software development usage of only a source control mechanism would not add value to the software delivery process. However, some ...
If you have upgraded the TFS from TFS 2015 to TFS 2018 you will encounter a situation where your vNext build agents 1.xx are no longer valid...