Whilst deploying files Ensconce has the ability to update the deployed application configuration using a deployment substitution.
In order to trigger the application configuration update we add an extra parameter.
ensconce --deployFrom=[sourcePath] --deployTo=[destinationPath] --copyTo --updateConfig
This will assume there is a file alongside your calling location called substitutions.xml
.
ensconce --deployFrom=[sourcePath] --deployTo=[destinationPath] --replace --updateConfig
This will assume there is a file alongside your calling location called substitutions.xml
.
This can be used with a --copyTo
or a --replace
.
ensconce --deployFrom=[sourcePath] --deployTo=[destinationPath] --replace --updateConfig --substitutionPath=[substitutionFilePath]
This can be used with a --copyTo
or a --replace
.
ensconce --deployFrom=[sourcePath] --deployTo=[destinationPath] --replace --updateConfig --outputFailureContext