-
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 output doesn't contain an ID to continue polling when --wait is hit #2605
Comments
Hello @stuartgrieve 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
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. |
Note Disregard this post, see my next comment 😄
|
Oh shoot sorry, I got confused on this... I was testing with Yes, using In which case, when a timeout happens it should definitely provide the |
This issue has been linked to a new work item: W-14670120 |
Great, thanks @iowillhoit - glad I wasn't going crazy |
The fix is now in the sf CLI release candidate v2.25.7. |
Summary
Our
package version creation
can take a while when we run all tests. Bitbucket sets a limit of 120 minutes on pipelines, so we've added a --wait of 110 to make sure the command concludes gracefully before being cut off.I was expecting this to return an ID which we could later query with
package version creation report
, but I get the following JSON output:Steps To Reproduce
I can't provide a repository due to IP. Steps to reproduce:
sf package version create --package <packageName> --installation-key <installationKey> --target-dev-hub <devHubAlias> --code-coverage --wait <waitTimeLessThanTheTotalPackagingTime> --json
Expected result
package version create report
(AFAIK this is howproject deploy
works when a deploy has not completed within the --wait time)Actual result
System Information
Pipeline is using the docker image: salesforce/cli:nightly-full
The text was updated successfully, but these errors were encountered: