Skip to content
Snippets Groups Projects
Commit e3745d3e authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix ; syntax

parent a149ae84
No related branches found
No related tags found
1 merge request!8multiple fixes
......@@ -318,9 +318,9 @@
$MR_PIPELINES=(Invoke-RestMethod -Uri "$API_URL/projects/$DEP_ID/merge_requests/$MR_ID/pipelines" -Method Get)
$PIPELINES+=$MR_PIPELINES
## Sort pipelines by "updated_at" from earliest to latest and only retrieve the ones whose url contain our project namespaec.
$PIPELINES = $PIPELINES
| Where-Object { $_.web_url -match $CI_PROJECT_NAMESPACE }
| Sort-Object -Property updated_at -Descending
$PIPELINES = $PIPELINES |
Where-Object { $_.web_url -match $CI_PROJECT_NAMESPACE } |
Sort-Object -Property updated_at -Descending
Write-Host "****************************************************************************************************************************"
Write-Host "****************************************************************************************************************************"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment