Deploys a Salesforce artifact to a Salesforce Organization or sandbox using the Salesforce CLI. This plugin operation requires sfdx to be installed on the endpoint where the project will be executed.
Supports both Full and Partial Deploy projects.
In Full Deployment mode, it supports:
- Deploying a Salesforce zip file from the
FD_ARTIFACTS_DIR.
In Partial Deployment mode, it supports:
...
Deploys a FlexDeploy Salesforce zip file from the FD_ARTIFACTS_DIR
. This file must have been created by the BuildSalesforce operation
...
.
...
Environment/Instance Properties
...
Input Name | Input Code | Required | Description |
---|---|---|---|
Check Only | FDSF_INP_CLI_CHECK_ONLY | No | Check to only validate the deployment. Uncheck to complete the deployment normally. Uses the "–checkonly"--checkonly" parameter while executing the command. |
Artifact Test Level | FDSF_INP_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. Uses the --testlevel" parameter while executing the command. |
Artifact Tests | FDSF_INP_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. Uses the "--runtests" parameter while executing the command. |
Outputs
Output Name | Required | Description |
---|---|---|
| No | Outputs the deployment id so that it can be used in other operations or to look up the status of the deployment in the Salesforce UI |
FDSF_OUT_NUMBERTESTFAIL | No | Number Test cases Fail |
FDSF_OUT_NUMBERTESTSUCCESS | No | Number Test cases Success |
FDSF_OUT_NUMBERTESTRUN | No | Number Test cases Run |
FDSF_OUT_TESTPERCENTAGE | No | Test Percentage |
FDSF_OUT_CODECOVERAGEPERCENTAGE | No | Code Coverage Percentage |
...