Skip to content

Commit

Permalink
fix variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sourabh1007 committed Aug 21, 2023
1 parent 3484f99 commit 7041ad4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ variables:
BuildConfiguration: Release
Packaging.EnableSBOMSigning: true
ReleasePackage: true
OS: 'Windows'

stages:
- stage:
Expand All @@ -25,9 +26,9 @@ stages:
VmImage: $(VmImage)

- job:
displayName: TelemetryToService ${{ parameters.BuildConfiguration }}
displayName: TelemetryToService $(BuildConfiguration)
timeoutInMinutes: 120
condition: and(succeeded(), eq('${{ parameters.OS }}', 'Windows'))
condition: and(succeeded(), eq('$(OS)', 'Windows'))
pool:
vmImage: windows-2019

Expand All @@ -48,7 +49,7 @@ stages:
inputs:
command: test
projects: 'Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/*.csproj'
arguments: --filter "TestCategory=ClientTelemetryRelease" --verbosity normal --configuration ${{ parameters.BuildConfiguration }} /p:OS=${{ parameters.OS }}
arguments: --filter "TestCategory=ClientTelemetryRelease" --verbosity normal --configuration $(BuildConfiguration) /p:OS=$(OS)
nugetConfigPath: NuGet.config
publishTestResults: true
testRunTitle: Microsoft.Azure.Cosmos.EmulatorTests
Expand All @@ -60,7 +61,7 @@ stages:
jobs:
- template: templates/nuget-pack.yml
parameters:
BuildConfiguration: Release
BuildConfiguration: $(BuildConfiguration)
VmImage: $(VmImage)
ReleasePackage: $(ReleasePackage)
OutputPath: '$(Build.ArtifactStagingDirectory)/bin/AnyCPU/$(BuildConfiguration)/Microsoft.Azure.Cosmos'
Expand Down

0 comments on commit 7041ad4

Please sign in to comment.