cli icon indicating copy to clipboard operation
cli copied to clipboard

sf reporting 0/0 components on a `metadata deploy resume`

Open mshanemc opened this issue 3 years ago • 1 comments

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

  1. sf env create scratch -d -f config/project-scratch-def.json -y 1
  2. ../../plugin-deploy-retrieve/bin/dev deploy:metadata --source-dir force-app --async
  3. ../../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

Screen Shot 2022-06-10 at 1 02 44 PM

System Information

sf version --verbose

@salesforce/cli/1.31.0 darwin-x64 node-v16.15.0

mshanemc avatar Jun 10 '22 18:06 mshanemc

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.

github-actions[bot] avatar Jun 10 '22 18:06 github-actions[bot]

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                  

WillieRuemmele avatar Jul 31 '23 19:07 WillieRuemmele