autoforce
Version:
Developer Automation tool for Github / Gitlab and Salesforce projects.
18 lines (17 loc) • 533 B
JSON
{
"name": "drop-scratch",
"guards": ["targetOrg"],
"arguments": { "scratchName": { "default": "${branchName}" } },
"description": "Elimina la scratch",
"errorMessage": "No se pudo eliminar la scratch. Verifique si existe con sf org list, y en caso afirmativo pruebe manualmente un sf org delete scratch --target-org ${scratchName} ",
"steps": [
{
"name": "drop-scratch",
"command": "sf",
"arguments": {
"org delete scratch": "",
"--target-org": "${scratchName}"
}
}
]
}