Do I need to pass any special parameters when I use Quickdeploy using metadata api ? Or should I just use the validate option and it sends the info to the org for Quickdeploy? How does ANT know when it has to send the code for validation or send the code for Quickdeploy?


There is one new tag


which is used to do quick deploy. You need to pass the recent validated deployment id which was validated recently as follows

<target name="quickDeploy">
  <sf:deployRecentValidation  username="${sf.username}" password="${sf.password}"
 sessionId="${sf.sessionId}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" 

Ref article: https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/forcemigrationtool_deploy_validation.htm

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.