File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
pipelines/templates/steps Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11parameters :
22 ConfigFileDir : ' '
33 PackageArtifactName : ' '
4+ SourceRootPath : $(Build.SourcesDirectory)
45
56steps :
67 - task : AzureCLI@2
78 inputs :
89 azureSubscription : opensource-api-connection
910 scriptType : pscore
1011 scriptLocation : scriptPath
11- scriptPath : $(Build.SourcesDirectory) /eng/common/scripts/Mark-ReleasePlanCompletion.ps1
12+ scriptPath : ${{ parameters.SourceRootPath }} /eng/common/scripts/Mark-ReleasePlanCompletion.ps1
1213 arguments : -PackageInfoFilePath '${{ parameters.ConfigFileDir }}/${{ parameters.PackageArtifactName }}.json'
1314 workingDirectory : $(Pipeline.Workspace)
1415 displayName : Mark package as released
Original file line number Diff line number Diff line change @@ -1051,7 +1051,7 @@ function Get-ReleasePlanForPackage($packageName)
10511051 $fieldList = ($fields | ForEach-Object { " [$_ ]" }) -join " , "
10521052 $query = " SELECT ${fieldList} FROM WorkItems WHERE [Work Item Type] = 'Release Plan' AND [${packageNameFieldName} ] = '${packageName} '"
10531053 $query += " AND [${prStatusFieldName} ] = 'merged'"
1054- $query += " AND [System.State] IN ('In Progress') ORDER BY [System.CreatedDate] "
1054+ $query += " AND [System.State] IN ('In Progress')"
10551055 $query += " AND [System.Tags] NOT CONTAINS 'Release Planner App Test'"
10561056 $workItems = Invoke-Query $fields $query
10571057 return $workItems
You can’t perform that action at this time.
0 commit comments