Question Status

Unanswered
Dhaval mistry asked a question on 9 Mar 2015 11:25 AM

Hi Team,

I am working on CRM 2013 and we have multiple team (primary three different development team). working on different user stories and user stories may have dependencies on each other but development team resolve user dependencies by discussion but major problem is with development environment coz all dev team has different schedule to put their code in QA to PROD.

Suggested solution 

1) We should have Three different Dev Environment for each team, below issue with this soltuion

a) code merging issue 

2) each team will use same dev Environment for development but below list of issues we are facing 

a) source code repository maintenance 

b) Code Deployment issue 

c) Unit testing 

We are open for any new suggestion. Kindly suggest good solution for above environment.

Dhaval Mistry

Reply
Chitrarasan Duraisamy responded on 9 Mar 2015 12:33 PM

Here is the our Dev environment setup and it works without conflicting other user changes.

1.Each developer has own development server with base Solution

2.We have Powershell cmd that exports and imports the base solution from the central development crm server.

3.We keep all components of the solution in the TFS and once we fix any issue in our dev we will check in the code will run the powershell to export the solution and import into to common dev server.

4.As all the components of the solution exist within the TFS everyone aware of what got changes and who changed it by looking at the history.

5.If more than one user worked on the same entity and when they try to checkin system will automatically prompts to merge changes if anything conflicts from the previous check-in

This process works well for us for developing add-in procut for crm.

Chitra


Reply
Dhaval mistry responded on 9 Mar 2015 12:55 PM

How do you sync each developer environment with central development environment?

Dhaval Mistry

Reply
Dhaval mistry responded on 9 Mar 2015 12:56 PM

How do you sync each developer environment with central development environment?

Each developer has own development server means different organization for each developer?

Dhaval Mistry

Reply
Chitrarasan Duraisamy responded on 9 Mar 2015 1:20 PM

As we have all solution components in TFS  , we have poershell cmd that builds the solution based on TFS content to puush it to any environment.so any user can run powershell cmd to push solution to Common dev server to test the any issue fix or enhancement. When we started the project we created common solution in CRM and imported all the solution components to TFS as a Base solution. From here anyone can make changes in thier dev environment using this base solution , once developer completes all the changes in thier dev solution they will run the powershell cmd to sync changes from thier dev crm solution to TFS. THis way TFS will have always upto date changes from all users regardless of on which dev server they are making changes. TO get any item history user will run the TFS history .  

Below post provides more information on the avilable framework to automate these process using powershell

http://waelhamze.com/2013/08/20/automated-crm-deployments-powershell/

Chitra


Reply