Closed TedHusted closed 7 years ago
Hi Ted,
as per what I understood, if the package.xml used explicit members it would help you to identify the unexpected changes only in the scope of the changes.
This behaviour is configurable, if you take a look to the config file config/packageConfig.json you can find an example of how the CustomObject section is configured:
"objects": {
"xmlTag": "CustomObject",
"acceptsAsterisk": false,
"extension": ".object"
},
This configuration teaches deltaDeployment to:
You can configure the entities you want be able to spot the unexpected changes in a similar way, just change de extension. Once you have the new configuration json file, i. e. config/packageConfig-enforceMembers.json, you can call the the task like this:
<deltaDeployment deltaFolder="delta"
previousDeployment="last-deployment"
configFile="config/packageConfig-enforceMembers.json" />
I hope I understood your scenario correctly and this change in the configuration helps you.
We use developer sandboxes for "scratch orgs" , and deploy changes from a develop branch, to a staging branch, to the master (production) branch.
If the deltaDeployment manifest used explicit members for each type, then we could use it to "look before we leap".