Skip to content

Commit 0282cb6

Browse files
committed
Merge branch 'rsh/prValidate' of https://github.com/microsoftgraph/msgraph-sdk-java-core into rsh/prValidate
2 parents 070838f + 91d5dd0 commit 0282cb6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.azure-pipelines/prValidate.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pr:
2727
trigger: none # disable triggers based on commits.
2828

2929
variables:
30-
PACKAGE_NAME: 'microsoft.graph.core'
31-
PROJECT_PATH: '.\src\Microsoft.Graph.Core\Microsoft.Graph.Core.csproj'
30+
PACKAGE_NAME: 'microsoft-graph-core'
31+
PROPERTIES_PATH: '.\gradle.properties'
3232

3333
pool:
3434
vmImage: windows-latest
@@ -44,10 +44,11 @@ steps:
4444
debugMode: false
4545

4646
- task: PowerShell@2
47-
condition: and(failed(), eq($(Build.SourceBranchName), 'dev')
47+
condition: and(failed(), eq(variables['Build.SourceBranchName'], 'dev'))
4848
inputs:
49-
filePath: '$(System.DefaultWorkingDirectory)/Scripts/validateMavenVersion.ps1'
49+
filePath: '$(System.DefaultWorkingDirectory)\Scripts\validateMavenVersion.ps1'
5050
pwsh: true
51+
arguments: '-packageName "$(PACKAGE_NAME)" -propertiesPath "$(PROPERTIES_PATH)"'
5152

5253
- task: Gradle@2
5354
inputs:

0 commit comments

Comments
 (0)