Functions/WorkInProgress/Get-GocdBuildingJob.ps1

1
2
3
4
5
6
7
8
9
10
function Get-GocdBuildingJob {
    [CmdletBinding()]
    param()

    $Agents = Get-GocdAgent -State Building

    $Agents | ForEach-Object {
        $_.build_details._links.job.href
    }
}