-
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
No arguments for destructive changes in sf project deploy validate command #2246
Comments
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
This issue has been linked to a new work item: W-13640624 |
Hi @shabu74 - these new flags have been released in |
Thanks. But I think documentation has not been updated, Would you please specify the argument name |
Hi @WillieRuemmele, No, I have installed latest SF CLI. But still getting error: { |
More over, test level can not be specified with No test Run. Then How can we validate non-apex components? @WillieRuemmele |
@shabu74 were you able to get this working? The flag is in the docs but it gives Nonexistent flag. Quite annoying... |
Any insight, @WillieRuemmele? |
@WillieRuemmele would you know any workaround. I need to validate and grab the jobId. So we can run quick deploy afterwards. So --dry-run on deploy start doesn't really work for me here. :/ |
Hi @dudunato - are you still seeing this on the latest version of the CLI? I'm using sf project deploy validate --help
Validate a metadata deployment without actually executing it.
...
DELETE FLAGS
--post-destructive-changes=<value> File path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy.
--pre-destructive-changes=<value> File path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy
--purge-on-delete Specify that deleted components in the destructive changes manifest file are immediately eligible for deletion
rather than being stored in the Recycle Bin.
➜ sf project deploy validate --pre-destructive-changes destructiveChangesPre.xml --manifest package.xml
Validating Deployment of v59.0 metadata to test-wobioos3usus@example.com using the v59.0 REST API. |
This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted. |
Is your feature request related to a problem? Please describe.
sf project deploy validate command has argument to specify manifest for constructive deployment only
What are you trying to do
I need to validate destructive deployment also like sf deploy start command
Describe the solution you'd like
manifest arguments for destructive deployment also need to be included in the command eg: ---pre-destructive-changes and --post-destructive-changes
Describe alternatives you've considered
sf deploy start command
The text was updated successfully, but these errors were encountered: