-
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
Required --manifest Parameter with the metadata dir tag #2909
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 @DilipJainFL 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
Updated the description - |
You can pass a manifest or a zip file, but not both. |
that's what I mentioned above, you can pass a manifest or a zip file but not both.
|
Thanks for the Reply. |
This issue has been linked to a new work item: W-16010166 |
Looks like a bug. We'll change the command so that |
@shetzel, I agree this seems to be a bug. My thoughts: --purgeondelete works with METADATA API FORMAT using sfdx force:mdapi:deploy. |
@mshanemc Could you please share details about the completions for this ticket and what is solution to resolve the issue. Please share the details about this. |
Does your zip file include at least one destructiveChangesPre|Post file? Want to provide a sample project that replicates your issue? docs now say
|
@mshanemc Could you please share any general example that worked for you in the dev environment. |
*** Now When adding the --manifiest to handle the above error receving one more error that can not use the manifest with --metadata dir**
sf project deploy start -o ${env.bamboo_sf_username} --metadata-dir ${buildZip} -g -w ${env.bamboo_sf_maxWaitMillis} --single-package --manifest package.xml --post-destructive-changes build/destructiveChangesPost.xml --verbose --purge-on-delete
Summary
In summarizaed words would like to deploy a zip with purge on delete using the SF CLI with metdata dir tag. leveraging the first command added above.
The text was updated successfully, but these errors were encountered: