-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to report on quick-deployed deployment due to NoMatchingJobIdError #3189
Comments
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. |
Hello @YodaDaCoda 👋 None of the versions of Shared: Update to the latest version of Salesforce CLI (docs) and confirm that you're still seeing your issue. After updating, share the full output of |
issue still exists on the latest stable {
"architecture": "linux-x64",
"cliVersion": "@salesforce/cli/2.72.21",
"nodeVersion": "node-v22.13.0",
"osVersion": "Linux 6.11.11-1-MANJARO",
"rootPath": "/home/will/github/x/node_modules/@salesforce/cli",
"shell": "bash",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.16 (core)",
"@oclif/plugin-commands 4.1.15 (core)",
"@oclif/plugin-help 6.2.20 (core)",
"@oclif/plugin-not-found 3.2.33 (core)",
"@oclif/plugin-plugins 5.4.24 (core)",
"@oclif/plugin-search 1.2.17 (core)",
"@oclif/plugin-update 4.6.21 (core)",
"@oclif/plugin-version 2.2.19 (core)",
"@oclif/plugin-warn-if-update-available 3.1.29 (core)",
"@oclif/plugin-which 3.2.23 (core)",
"@pdfbutler/migration-cli 0.0.19 (link) /home/will/github/x/node_modules/@pdfbutler/migration-cli",
"@salesforce/cli 2.72.21 (core)",
"apex 3.6.8 (core)",
"api 1.3.2 (core)",
"auth 3.6.85 (core)",
"community 3.3.8 (link) /home/will/github/x/node_modules/@salesforce/plugin-community",
"data 4.0.1 (core)",
"deploy-retrieve 3.17.0 (core)",
"info 3.4.30 (core)",
"limits 3.3.43 (core)",
"marketplace 1.3.7 (core)",
"org 5.2.16 (core)",
"packaging 2.9.10 (core)",
"schema 3.3.45 (core)",
"settings 2.4.9 (core)",
"sobject 1.4.48 (core)",
"telemetry 3.6.29 (core)",
"templates 56.3.34 (core)",
"trust 3.7.53 (core)",
"user 3.6.5 (core)",
"sfdmu 4.37.0 (user) published 54 days ago (Thu Nov 28 2024) (latest is 4.38.0)",
"sfdx-git-delta 6.0.2 (link) /home/will/github/x/node_modules/sfdx-git-delta",
"sfdx-hardis 5.15.2 (link) /home/will/github/x/node_modules/sfdx-hardis"
]
} |
This is by design, You should use |
Thanks @cristiand391 you're absolutely correct, I've been using the wrong command for my use-case. |
Summary
In our CI we quick-deploy a previously validated deployment id if available.
sf project deploy quick
works fine, but subsequently attempting to report on the deployment throwsNoMatchingJobIdError
Steps To Reproduce
sf project deploy quick --json --async --job-id "${quick_deploy_id}" >"${quick_deploy_file}"
$quick_deploy_file
to get the resulting deployment idsf project deploy resume --job-id "${deploy_id}"
Error (NoMatchingJobIdError): No matching job found in cache for ID: <deploy_id>
Expected result
Even if the deploy_id isn't present in the cache, I expect the cli to make the api request to the target-org for the status of the deployment.
Actual result
The error is thrown.
Additional information
System Information
Bash inside an Ubuntu 24.04 container on Azure Devops Pipelines
The text was updated successfully, but these errors were encountered: