cli
cli copied to clipboard
sf reporting 0/0 components on a `metadata deploy resume`
Summary
Short summary of what is going on or to provide context.
Steps To Reproduce:
Repository to reproduce: https://github.com/salesforcecli/sample-project-multiple-packages
sf env create scratch -d -f config/project-scratch-def.json -y 1../../plugin-deploy-retrieve/bin/dev deploy:metadata --source-dir force-app --async../../plugin-deploy-retrieve/bin/dev deploy:metadata:resume --job-id 0Af...
Expected result
show the # of components deployed already
Actual result
Status: Succeeded | ████████████████████████████████████████ | 0/0 Components
System Information
sf version --verbose
@salesforce/cli/1.31.0 darwin-x64 node-v16.15.0
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
fixed.
➜ sf project deploy start --source-dir force-app --async
Deploying v50.0 metadata to [email protected] using the v58.0 SOAP API.
Deploy ID: 0AfDa00001VHFGQKA5
Deploy has been queued.
Run "sf project deploy resume --job-id 0AfDa00001VHFGQKA5" to resume watching the deploy.
Run "sf project deploy report --job-id 0AfDa00001VHFGQKA5" to get the latest status.
Run "sf project deploy cancel --job-id 0AfDa00001VHFGQKA5" to cancel the deploy.
➜ sample-project-multiple-packages git:(main) ✗ hub:(GLOBAL - DevHub) scratch:([email protected])
➜ sf project deploy resume --job-id 0AfDa00001VHFGQKA5
Deploy ID: 0AfDa00001VHFGQKA5
Status: Succeeded | ████████████████████████████████████████ | 8/8 Components (Errors:0) | 0/0 Tests (Errors:0)
Deployed Source
===========================================================================================================
| State Name Type Path
| ─────── ─────────────── ──────────── ────────────────────────────────────────────────────────────────────
| Created MyTest ApexClass force-app/main/default/apex/MyTest.cls
| Created MyTest ApexClass force-app/main/default/apex/MyTest.cls-meta.xml