I want to setup our Continuous Integration with CircleCI. I want our GitHub to deploy our code to a central test org anytime a developer pushes changes to run all the Apex tests and make sure that nothing is broken so we can deploy to a packaging org. I have found some repositories online like this or this that have the configuration setup but my CircleCI builds are still failing. It seems to be simple enough but I must be missing a simple step. Can someone either share a working setup or a reliable source that can help it get setup please?

One more thing is that, unfortunately, we have not made the jump to DX yet. So it needs to work with pre-DX tools and orgs. Our current infrastructure is working with ANT and and-salesforce.jar.


I have written a series of blogs on setting up continuous integration with CircleCI and SFDX:

I also have a GitHub repository with a number of examples using SFDX and CircleCI alone, with multiple org types, with Lightning Testing Service, and with PMD or Codecov.io.

I use this setup for some side projects that are up and running on this toolchain if a fully working example is useful.

Your question sounds like you're also interested in continuous deployment, which does go further than any of my examples. While it is not a huge step to add, it tends to be a little more case-specific and less generalizable. A more specific question there might yield more tailored answers.

|improve this answer|||||

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.