FD_ARTIFACTS_DIR. This file must have been created by the buildSalesforce operation.
This operation can be used in pre-deploy or deploy workflow to validate the package with the target Salesforce Org. This operation takes the package artifact and checks against the target Salesforce Org and executes the tests specified at the Package level.
This operation returns the Deployment Id as an Output. The Deployment Id can be used to commit the deployment package using the Commit Deployment operation.
Target Properties
Property Name | Property Code | Required | Description |
|---|---|---|---|
Salesforce Account Code |
| Yes | Salesforce Account with all the required properties like User, Password, Client Id, etc. |
Salesforce API Version |
| No | The Salesforce API version to target. Specifies the Salesforce API version to use(e.g., 64.0, 63.0).. Since version 9.0.0.8, This property is optional. If left blank, FlexDeploy will automatically detect and use the latest supported API version from your Salesforce Org at runtime using a REST API call - up to the maximum version supported by both your Salesforce organization and FlexDeploy. |
Salesforce Deploy Timeout |
| Yes | The Salesforce Deploy Timeout in seconds. Executions exceeding this value will be declared as Failed with timed out error in FlexDeploy Defaults to 3600 seconds (1 hour) |
Rollback On Error |
| No | Indicates whether any failure causes a complete rollback (true) or not (false) |
Inputs
Input Name | Input Code | Required | Description |
|---|---|---|---|
Artifact Test Level |
| No | Test Level for current artifact/package. Overrides Test Level set for the package. Accepted values are NoTestRun, RunSpecifiedTests, RunLocalTests and, RunAllTestsInOrg. |
Artifact Tests |
| No | Tests for current artifact/package. Overrides Tests set for the package. Only used when the Test Level input is set to RunSpecifiedTests. |
Outputs
Output Name | Required | Description |
|---|---|---|
| No | Outputs the deployment id so that it can be used in commit deployment operations or to look up the status of the deployment in the Salesforce UI. |
| No | Number Test cases Fail |
| No | Number of Test cases Success |
| No | Number of Test cases Run |
| No | Test Percentage |
| No | Code Coverage Percentage |