3

I'm starting to implement Continuous Integration and I'm using Bitbucket, Jenkins and the ANT Migration Tool provided by Salesforce.

I want to deploy from a Dev Sandbox environment to a Dev-Integration env, but I want to deploy only the changes that I did and not all code that is into src folder (all salesforce metadata). There's a way to only deploy that changes ( obviously keeping in mind test classes and dependences)? or what would be the best approach.

Thanks,

  • If you don't need it to be entirely automated then the company I work for (gearset.com) might be worth checking out. I won't put this as an answer though as it doesn't match your needs of totally automated, although watch this space :) – Kevin Boyle Apr 3 '15 at 18:54
  • Flosum provides a ready-made out of the box continuous integration solution. The solution is 100% native salesforce, there is nothing to install or configure after you have registered the organizations. – Kevin Bellati Apr 5 '15 at 7:49
5

We are using a very similar setup internally. What we have found works is that

1) All devs work in their own separate sandboxes.

2) All development is done in feature branches.

3) When work is ready for QA/Integration testing feature branches are merged into master.

4) Jenkins build runs whenever there is a commit to master and performs a deploy to the QA/Integration environment.

You may want to check out the Atlassian Guide for Setting up CI. They use Bamboo but most of the issues you will run into with maintaining your package.xml and keeping config changes in sync will be very similar.

3

The description and detailed setup provided in the below link is very useful and it worked in my case. May be it helps you : Continuous Integration

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.