Installing the Ant Migration Tool on Linux

The installation steps are as follows:

  1. Download the Force.com Migration Tool from https://developer.salesforce.com/page/Force.com_Migration_Tool:
#wget https://gs0.Salesforce.com/dwnld/SfdcAnt/Salesforce_ant_39.0.zip
  1. Save the .zip file locally and extract the contents to the directory of your choice:
#unzip Salesforce_ant_39.0.zip 
Note that, in our case, it is /home/devops/Force_com_tool.
  1. After unzipping Salesforce_ant_39.0.zip, you will find ant-Salesforce.jar; this is required to run Ant tasks. Copy Salesforce_ant_39.0.zip to another folder named Sample, which has examples for deploying and retrieving metadata from a sandbox in codepkgclassesremovecodepkg. Also the Sample folder contains ...

Get DevOps for Salesforce now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.