1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
param(
[Parameter(Mandatory = $true)]
$ReleasePlanWorkItemId,
[Parameter(Mandatory = $true)]
$PullRequestUrl,
[Parameter(Mandatory = $true)]
$Status,
[Parameter(Mandatory = $true)]
$LanguageName
)
<#
.SYNOPSIS
Updates the pull request URL and status in the specified release plan work item for a given programming language.
.PARAMETER ReleasePlanWorkItemId
The ID of the release plan work item to update.
.PARAMETER PullRequestUrl
The URL of the pull request to set in the release plan.
.PARAMETER Status
The status of the pull request.
.PARAMETER LanguageName
The programming language associated with the pull request.
#>
Set-StrictMode -Version 3
. (Join-Path $PSScriptRoot common.ps1)
. (Join-Path $PSScriptRoot Helpers DevOps-WorkItem-Helpers.ps1)
LogDebug "Updating pull request in release plan"
Update-PullRequestInReleasePlan $ReleasePlanWorkItemId $PullRequestUrl $Status $LanguageName
LogDebug "Updated pull request in release plan"
|