AX 2012 Build Server and TFS

Can anyone help me to set up the Build server and TFS server from scratch fro AX 2012 R3 CU13.

Any documents will be helpful.

Thanks

If you’re willing to use XAML build activities (which are considered deprecated these days), then I recommend those created by Joris de Gruyter:

Originally I used my own Powershell scripts, but when Joris made his build activities available, I switched to them too.