Skip to content

Commit

Permalink
Adding more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Jan 6, 2022
1 parent 25aef9f commit 761bf6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ function Invoke-OctopusApi
$spacesList = Invoke-OctopusApi -OctopusUrl $octopusUrl -endPoint "spaces?skip=0&take=1000" -spaceId $null -apiKey $OctopusApiKey -item $null -method "GET"
foreach ($space in $spacesList.Items)
{
Write-Host "Queing a runbook run for $($space.Name) using the space id $($space.Id)"
Write-Host "Queueing a runbook run for $($space.Name) using the space id $($space.Id). The runbook will run on $AdminInstanceUrl for the environment $AdminEnvironmentName in the space $AdminSpaceName"
octo run-runbook --project "Standards" --runbook "Enforce Space Standards" --environment $AdminEnvironmentName --variable="Project.SpaceStandard.SpaceId:$($space.Id)" --server="$AdminInstanceUrl" --apiKey="$AdminInstanceApiKey" --space="$AdminSpaceName"
}

0 comments on commit 761bf6a

Please sign in to comment.