WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Update Environment Variables not update in play mode #253

Open Sunnylove43 opened 2 years ago

Sunnylove43 commented 2 years ago

Hello,

I met an issue that the environment variables are updated when the app is open by clicking "Edit", but the app displays the older values in Play mode. All environment variables values are removed before running the pipelines. No error message in the "update environment variables" step.

Please advise and looking forward to any ideas and debugging approaches.

Thank you! Yours Sincerely, Kelly

WaelHamze commented 2 years ago

@Sunnylove43 if you run the pipeline with system.debug = true, are there any errors or useful messages in the logs?

Sunnylove43 commented 2 years ago

@Sunnylove43 if you run the pipeline with system.debug = true, are there any errors or useful messages in the logs?

@WaelHamze Thank you for the suggestion! I've tried a bit later on since I met this bug, I found it's a bit unstable if I updated the environment variables frequently in the same environment because I want to use the same environment as "test" and "prod" for testing purposes. When I just used it for one purpose, it works well so far. In addition, the browser should be refreshed after minutes when devOps shows successfully pushed, I guess there are some lagging for the play mode updating.