File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -399,19 +399,19 @@ does_image_exist() {
399399exit_if_commit_not_found () {
400400 local -r commit=" ${1} "
401401 if ! does_commit_exist " ${commit} " ; then
402- echo " Commit '${commit} ' not found in ostree repo - VM won 't be created"
403- record_junit " ${vm_name} " " vm_build_commit_not_fount " " FAILED "
404- exit 1
402+ echo " Commit '${commit} ' not found in ostree repo - VM can 't be created"
403+ record_junit " ${vm_name} " " build_vm_commit_not_found " " SKIPPED "
404+ exit 0
405405 fi
406406}
407407
408408# Exit the script if the image is not found in the mirror registry.
409409exit_if_image_not_found () {
410410 local -r image=" ${1} "
411411 if ! does_image_exist " ${image} " ; then
412- echo " Image '${image} ' not found in mirror registry - VM won 't be created"
413- record_junit " ${vm_name} " " vm_build_image_not_fount " " FAILED "
414- exit 1
412+ echo " Image '${image} ' not found in mirror registry - VM can 't be created"
413+ record_junit " ${vm_name} " " build_vm_image_not_found " " SKIPPED "
414+ exit 0
415415 fi
416416}
417417
You can’t perform that action at this time.
0 commit comments