diff --git a/.gitlab/ci/download/select_jobs.gitlab-ci.yml b/.gitlab/ci/download/select_jobs.gitlab-ci.yml index bc4fef88a87be0f0692263d0cd7088d2df98dab4..a86679a7e05d75c0c177f5e190ab1956a66eac1a 100644 --- a/.gitlab/ci/download/select_jobs.gitlab-ci.yml +++ b/.gitlab/ci/download/select_jobs.gitlab-ci.yml @@ -316,8 +316,10 @@ Write-Host "****************************************************************************************************************************" Write-Host "Retrieving regular pipelines from $API_URL/projects/$DEP_ID/pipelines?ref=$BRANCH_TO_PULL" $PIPELINES=$(Invoke-RestMethod -Uri "$API_URL/projects/$DEP_ID/pipelines?ref=$BRANCH_TO_PULL" -Method Get) + Write-Host "Found $($PIPELINES.Count) pipelines linked with $BRANCH_TO_PULL as ref." + Write-Host "Retrieving MR pipelines from $API_URL/projects/$DEP_ID/merge_requests?source_branch=$BRANCH_TO_PULL" $MR_ID=(Invoke-RestMethod -Uri "$API_URL/projects/$DEP_ID/merge_requests?source_branch=$BRANCH_TO_PULL" -Method Get) - Write-Host "Found $($MR_ID.Count) MR with $BRANCH_TO_PULL as target branch." + Write-Host "Found $($MR_ID.Count) MR with $BRANCH_TO_PULL as source branch." if ( $MR_ID.Count -ne 0 ){ $MR_PIPELINES=(Invoke-RestMethod -Uri "$API_URL/projects/$DEP_ID/merge_requests/$MR_ID/pipelines" -Method Get) $PIPELINES+=$MR_PIPELINES