diff --git a/templates/build-and-test-stages.yml b/templates/build-and-test-stages.yml index 3cc84b2..66e9814 100644 --- a/templates/build-and-test-stages.yml +++ b/templates/build-and-test-stages.yml @@ -40,8 +40,8 @@ stages: CurrencyName: GBP DomainName: $(TestEnvironment.DomainName) - powershell: | - echo "##vso[task.setvariable variable=EnvironmentUrl;isOutput=true]$env:POWERPLATFORMCREATEENVIRONMENT_BUILDTOOLS_ENVIRONMENTURL" - echo "##vso[task.setvariable variable=EnvironmentName;isOutput=true]$env:POWERPLATFORMCREATEENVIRONMENT_BUILDTOOLS_ENVIRONMENTID" + echo "##vso[task.setvariable variable=EnvironmentUrl;isOutput=true]$env:BUILDTOOLS_ENVIRONMENTURL" + echo "##vso[task.setvariable variable=EnvironmentName;isOutput=true]$env:BUILDTOOLS_ENVIRONMENTID" displayName: Set output variables name: SetEnvironmentOutputVariables - stage: BuildAndTest