Mar 27 2023
08:03 PM
- last edited on
Mar 05 2024
02:34 PM
by
TechCommunityAP
Mar 27 2023
08:03 PM
- last edited on
Mar 05 2024
02:34 PM
by
TechCommunityAP
We have a release pipeline with 2 stages in parallel, Validation and Test. The tasks in these 2 stages are the same: import powerapps solution to the environment and apply upgrade, but they are using different service connections to the target environments.
We set up self-hosted agent pool and install agents on the same local server.
When the pipeline was ran last night, Validation stage is using agent02, while Test stage is using agent01. The weird thing is the Test stage imported the solution to Validation environment althought the log showed that the command was to connect to Test environment at first, but then showed connecting the validation environment. As a result, Test stage import the solution to Validation environment, and the Validation stage failed because there already there is a upgrade solution imported by the Test stage.
Why did this happened? The 2 agents should be connected to different environment, why the Test stage connected to Validation environment wrongly?
Mar 28 2023 03:49 AM