3

I am trying to figure out how to set up this four enviroments on Salesforce

I am trying to avoid using ANT Migration Tool.

My Production Environent is a Developer Edition in which I am going to create a Managed Package, so I am unable to passing the application through enviroments in a unmanaged package.

What are the best practices ? Jenkins ?

enter image description here

1
  • what is a problem with ant? Personally I setup pipeline based on Jenkins/Grunt/Ant/Git to do deployment based on corresponding branches.
    – kurunve
    Commented Jan 27, 2017 at 14:53

3 Answers 3

6

What you're looking for is Salesforce DX. Fortunately, there's a pilot going on right now so you can get front-row seats for how this is going to work. We're still a few months away from GA, but it will be ideal for the scenario that you envision: developing a managed package without the need for Ant. If you can't wait, the current process would be to use Ant. If you do choose to use Jenkins, it automates deployments, but still requires Ant scripts. However, using a CI is recommended, because it's far less error prone than using Deploy to Server that you'll find in MavensMate or the current Force.com IDE.

2
  • 1
    @Oleksiy Thanks for the edit. That does make more sense.
    – sfdcfox
    Commented Jan 27, 2017 at 18:00
  • We cannot wait for DX to be GA, it will be such a modernization of the development experience on Salesforce. Our current flow leverages Git and Jenkins and is a bit of work to maintain, but could give you the flow you want above. The way we work it is that we have specific branches in Git for each of our environments. Changes to and pull requests against these different branches trigger test runs and deployments via ANT in Jenkins to move code to the next step until it ends up in the packaging org. Uploading beta/released packages is still a manual step.
    – dsharrison
    Commented Jan 28, 2017 at 0:55
1

I think what I was looking is the "Deploy to Server" tool of Mavensmate.

enter image description here

1
  • Force.com IDE also has this functionality.
    – sfdcfox
    Commented Jan 27, 2017 at 16:46
1

Since DX will take time until GA, we settled for Jason Laantz's/Salesforce Foundation's CumulusCI - running on python.

We run CumulusCI with CircleCI currently - but there's also MrBelvedereCI by the same peeps.

So far I am very, very happy with CumulusCI.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .