I have an Azure DevOps pipeline which is failing to run because it seems to be using an old connection string.
- The pipeline is for a C# project, where a FileTransform task updates an appsettings.json file with variables set on the pipeline.
- The variables were recently updated to use a new connection string, however, when running a
Console.PrintLnbefore using it and viewing it on the pipeline, it shows an outdated value. - Many updates similar to this have been run in the past without issue.
- I've also recently added a Powershell task to echo what the value is in the variables loaded while the pipeline is running, which does display the new value.
- I've checked the order of precedence of variables and there shouldn't be any other variables being used.
- There is no CacheTask being used in this pipeline.
Does anyone have any advice to remedy this? It seems that the pipeline itself is just ignoring the variables set on the pipeline.
