Skip to content

Commit

Permalink
Fix browser build yaml (#2458)
Browse files Browse the repository at this point in the history
* Use BuildId for azure resources

* delete correct resource group
  • Loading branch information
EricDahlvang authored Jun 30, 2020
1 parent 041decf commit 8b1b900
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libraries/browser-functional-tests/browser-tests-build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ pr:
- master

variables:
TestResourceGroup: 'BrowserBotTest'
TestAppServicePlan: 'BrowserBotServicePlan'
TestWebApp: 'BrowserBotWebApp'
TestResourceGroup: 'BrowserBotTest$(Build.BuildId)'
TestAppServicePlan: 'BrowserBotServicePlan$(Build.BuildId)'
TestWebApp: 'BrowserBotWebApp$(Build.BuildId)'
TESTURI: 'https://$(TestWebApp).azurewebsites.net/'
# AzureSubscription: define this in Azure

Expand Down Expand Up @@ -94,5 +94,6 @@ steps:
inputs:
azureSubscription: '$(AzureSubscription)'
scriptLocation: inlineScript
inlineScript: 'call az group delete -n BrowserBotTest --yes'
inlineScript: 'call az group delete -n $(TestResourceGroup) --yes'

condition: succeededOrFailed()

0 comments on commit 8b1b900

Please sign in to comment.