| username |
Required. The Salesforce username
for login. The username associated with this connection must have
the “Modify All Data” permission. Typically, this is
only enabled for System Administrator users. |
| password |
Required. The password you use to log into the organization
associated with this project. If you are using a security token, paste
the 25-digit token value to the end of your password. |
| serverurl |
Optional. The Salesforce server
URL (if blank, defaults to www.salesforce.com). To connect to a sandbox instance, change this to test.salesforce.com. |
| pollWaitMillis |
Optional. Defaults to 10000. The number of milliseconds to wait when polling for results of
the deployment. Note that deployment may succeed even if you stop
waiting. |
| checkOnly |
Optional. Defaults to false. Set to true to check the validity
of the deployed files without making any changes in the organization.
This will not deploy any components or change the organization in
any way. |
| maxPoll |
Optional. Defaults to 200. The number of times to poll the server for the results of the deploy
request. Note that deployment may succeed even if you stop waiting. |
| deployRoot |
Required if zipFile is not specified.
Specifies the root of the directory tree of files to deploy. You must
define a value for either zipFile or deployRoot. |
| zipFile |
Required if deployRoot is not specified..
Specifies the path of the metadata zip file to be deployed. You must
define a value for either zipFile or deployRoot. |
| singlePackage |
Optional. Defaults to false. Declares that the zipFile or deployRoot parameter points to a directory structure with a single package,
as opposed to a set of packages. |
| allowMissingFiles |
Optional. Defaults to false. Specifies whether a deploy succeeds
even if files that are specified in package.xml are not in the zip file. Do not use this parameter for deployment
to production organizations. |
| autoUpdatePackage |
Optional. Defaults to false. Specifies whether a deploy should
continue even if files present in the zip file are not specified in package.xml. Do not use this parameter for deployment
to production organizations. |
| ignoreWarnings |
Optional. Defaults to false. This setting indicates that a deployment
should succeed even if there are warnings (true) or that one or more warnings will cause the deployment
to fail and roll back (false).
If there are errors, as opposed to warnings, the deployment will always
fail and roll back. |
| purgeOnDelete |
If true, the deleted components in the destructiveChanges.xml manifest file aren't stored in the Recycle Bin. Instead, they become immediately eligible for deletion.This option only works
in Developer Edition or sandbox organizations;
it doesn't work in production organizations. |
| rollbackOnError |
Optional. Defaults to true. Indicates whether any failure causes
a complete rollback (true) or not
(false). If false, whatever set of actions can be performed without
errors are performed, and errors are returned for the remaining actions.
This parameter must be set to true if you are deploying to a production organization.In earlier versions of the Force.com Migration Tool (Spring
'14 and earlier), this parameter is ignored in build.xml and Salesforce behaves as if this parameter is set to true.
|
| runAllTests |
Optional. Defaults to false. If set to true, all tests are
run after deploy. For deployment to a production organization, all
tests, except for those that originate from installed managed packages,
are automatically run regardless of this argument. If any of these
tests fail, the deployment is rolled back and no changes will be made
to your organization. |
| runTest |
Optional child elements. A list of Apex classes containing tests run after deploy. If any of these tests
fail, the deployment is rolled back and no changes will be made to
your organization. |
| trace |
Optional. Defaults to false. Prints the SOAP requests and responses to the console.
Note that this will show the user's password in plain text during
login. |
| logType |
Optional. The debug logging level for running tests. The default
is None. Valid options are:
- None
- Debugonly
- Db
- Profiling
- Callout
- Detail
|