Closed Atvaark closed 7 years ago
@Atvaark Can you also add some test cases around this
I added some unit tests for both default variables and config changes.
@Atvaark You will need to bump up the minor version in task.json also.
Also change the .MD file which has the documentation describing this new functionality. I am reviewing the changes, we should be able to get this in, in the next few days.
This optionally allows users to configure variables and config changes in the 'default' environment in addition to concrete environments (e. g. Dev, Prod). The changes defined in the 'default' environemnt will be applied before the changes defined in the concrete ones. This allows overwriting default changes with changes that are environment specific.
Using just a single 'default' environment to insert tokens and configuring the token values via TFS variables will be possible with this change.
Compared to #17 this also allows defining cross-environment CustomVariables.
A review and tests (especially for the PowerShell 3 script) would be appreciated, as I couldn't get the tokenizer unit tests to run.