Deployment plan still looks for a default package.xml #650
gintoMathew
started this conversation in
General
Replies: 1 comment 8 replies
-
@gintoMathew the default manifest/package.xml is looked for by default (and it added in the deployment plan with "0" position) You can solve the issue by using such configuration: projectName: hardisPOC
developmentBranch: dev_poc
deploymentPlan:
packages:
- label: Package One
packageXmlFile: manifest/package.xml
order: 0
- label: Package Two
packageXmlFile: manifest/package-two.xml
order: 2 or even the following (the result will be the same, as manifest/package.xml is implicitely added projectName: hardisPOC
developmentBranch: dev_poc
deploymentPlan:
packages:
- label: Package Two
packageXmlFile: manifest/package-two.xml
order: 2 If for some reason you don't want to have a main manifest/package.xml, please explain your use case and we'll see if we can make an update that will allow the command to work without it :) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue
I have set deployment plan with multiple package xmls; but when the pipeline executes, it errors out saying 'no such file or directory, open ./config/package.xml'
Here is how the .sfdx-hardis-yml looks like
Command executed
sfdx hardis:project:deploy:sources:dx --check --testlevel RunRepositoryTests --debug
Expected
According to the documentation the deploy command, a default package.xml is not needed and the xmls in the deploymentPlan will be used to create a 'calculated-package.xml' for the deployment.
Additional Note
Does this command support deployment from a multi package source i.e, 'force-app' is broken into different projects with separate components.
Beta Was this translation helpful? Give feedback.
All reactions