Replies: 1 comment
-
|
hey, sorry for the late reply.
I see a few alternatives here:
I'm a bit hesitant to add new flag for this, mostly due to the specific handling and that |
Beta Was this translation helpful? Give feedback.
-
|
hey, sorry for the late reply.
I see a few alternatives here:
I'm a bit hesitant to add new flag for this, mostly due to the specific handling and that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
We use the sfdx-git-delta plugin to enable incremental deployments and destructive changes in our production org. Our deployment workflow is as follows:
package.xmlcontaining only the changed metadata:However, many PRs do not modify any Salesforce metadata. This results in an empty package.xml, and the deployment job fails with
Error(NothingToDeploy).Proposal
To improve CI/CD pipelines and maintain retrocompatibility, we propose adding a new parameter to
sf project deploy start:--allow-empty-package-xmlpackage.xmldoes not contain any metadata.Tip
The flag name
--allow-empty-package-xmlis just a suggestion. Any name that clearly conveys its purpose would work.Benefits
Thanks in advance! 🙂
Beta Was this translation helpful? Give feedback.
All reactions