Do we need to make changes for Salesforce Fast deploy to deploy our code via ANT migration tool ? OR does Salesforce take care of it automatically ?

I would like to find some documentation which states that we don't have to make any changes for fast deploy.

  • Please explain what you mean by "fast deploy". – Keith C Jul 24 '15 at 0:13
  • 1
    believe its about the new Quick Deploy feature – Vamsi Krishna Jul 24 '15 at 1:10
  • 1
    Fast deploy and Quick deploy are two different features. Quick deploy let's you validate the deployment 72 hours before the deployment. Fast deploy runs the minimal amount of test cases that are required for that deployment. – Kevin Bellati Jul 25 '15 at 1:58

If you will go through this article, it is clearly written :

When deploying to non-production environments (sandbox), Apex tests aren’t required and aren’t run automatically. When using Metadata API (including the Force.com Migration Tool), Quick Deploy is supported in sandbox only for validations that explicitly enable the execution of tests (for example, via the runAllTests parameter for the Migration Tool). For change sets, Quick Deploy is not supported in sandbox because there is no option to enable test runs for change sets.

So it seems like, using Metadata API(ANT), it is supported only in sandbox(with runAllTests paramater enabled)

| improve this answer | |
  • I had read the article. My question was on Fast deploy, not quick deploy. – Kevin Bellati Jul 25 '15 at 1:59

I may be wrong here. But thought its worth to put my thoughts.

Once you validate using ANT, you can go to salesforce and use the quick deploy feature. Guess as of now, through ANT quick deploy is not supported into prod instance.

| improve this answer | |
<target name="quickdeployprod">
    <sf:deployRecentValidation username="${sf.username}" password="${sf.password}" serverurl="${sf.sandboxurl}" recentValidationId = "recently validated id" deployroot="Retrieve"/>
| improve this answer | |
  • To improve your answer, please add a short explanation. – Markus Slabina Apr 20 '17 at 11:32

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.