-
Notifications
You must be signed in to change notification settings - Fork 78
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
sf package version create --json not returning proper json output #2562
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. |
This issue has been linked to a new work item: W-14457843 |
Seeing something similar with the command "sf package version list -p package_name --json" results in:
Salesforce version = @salesforce/cli/2.16.7 darwin-x64 node-v20.6.0 (on a Mac) |
Having the same issues. This is causing issues with our cicd pipelines.
|
We're patching latest and latest-rc CLI releases to address this. Please stand by... |
sf CLI v2.16.8 (latest) and sf CLI v2.17.11 (latest-rc) should have this fixed. Please reopen if you're still seeing the problem with these versions. |
@shetzel I am still seeing this behavior with CLI v2.16.8 for the community plugin
Output:
|
Sorry, looks like we missed the success message. another patch coming asap... |
We just published sf CLI v2.16.10 (latest) and sf CLI v2.17.13 (latest-rc) that fix this (for real). I just tested running this command and the files looked good: I.e., list-stdout.json contained the correct, json-parseable content. Let me know if it's not working for you and I'll reopen. |
Summary
Running the
sf package version create --json
does not return proper json output due to installing the packaging plugin.Steps To Reproduce
sf package version create --json --skip-ancestor-check --version-number 1.1.0.NEXT --definition-file config/project-scratch-def.json --package "<PACKAGE_NAME>" --installation-key-bypass --skip-validation --version-name "ver 1.1.0"
in a 2GP projectExpected result
Actual result
System Information
System: ubuntu
Shell: bash
Additional information
Downgrading to version
2.14.6
returned the proper output.The text was updated successfully, but these errors were encountered: