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

fix : if no job was found the windows CI would not tell it and quit

parent f84ee88f
No related branches found
No related tags found
No related merge requests found
......@@ -451,7 +451,7 @@
break
}
}
if ( "$FOUND_JOB" -eq "-1" ) {
if ( $FOUND_JOB -eq 0 ) {
Write-Host "ERROR : no successful job \"$DEPENDENCY_JOB\" found in branch \"$BRANCH_TO_PULL\" for project \"$CI_PROJECT_NAMESPACE/$DEP_NAME\""
if ( ! "$CI_MERGE_REQUEST_ID" -and ! "$CI_MERGE_REQUEST_TITLE" -match '.+Draft.+' ){
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