Steve Hetzel
Steve Hetzel
@filiprafalowicz - thanks for posting. The docs and the samples in that repo are currently wrong. I have a PR to fix the samples: https://github.com/salesforcecli/plugin-metadata-hook-demo/pull/147 We will be fixing the...
This is working as designed. Calling Salesforce APIs requires an access token. Access tokens are valid for a certain amount of time before they expire. In the case of JWT...
Commands will work as long as the token is valid or if the command doesn't make an API call, such as `force:alias:list`. When the token expires and you run a...
As long as everything is wrapped in the same `withCredentials` it should work. The auth files that are written during `force:auth:jwt:grant` and `force:org:create` reference the temporary location of the jwt...
re: jenkins - Seems like you're using the newer, declarative method, and it appears that the withCredentials plugin has issues with that method. I don't have any experience with it...
The decision predates me but I believe it was done that way for customer convenience. I reproduced the issue you're seeing and entered a bug for us to track internally....
Associated work item: W-10977978
I believe this is fixed in the CLI release candidate. Could you update to the RC version and try the command to see if that fixes it for you?
For those still experiencing this problem, it would be interesting to compare the debug logs from a working CLI version and a non-working CLI version. If someone could provide the...
@gaelCangy - can you run `sfdx doctor` and let me know what it suggests? Also, what is the exact error with stack trace that you're seeing? You can get a...