diff --git a/oooci-jobs.sh b/oooci-jobs.sh index 3cdc4ff..9e12813 100755 --- a/oooci-jobs.sh +++ b/oooci-jobs.sh @@ -149,10 +149,16 @@ function get_job_promotion_status { for branch in ${BRANCHES[@]}; do if [[ -f $promotion_file_path/$branch.ini ]]; then if grep -rni "^$jobname$" $promotion_file_path/$branch.ini ; then - local res+=" ** IN $branch ** $promotion_file_uri/$branch.ini " + local res+=" ** INTEGRATION $branch ** $promotion_file_uri/$branch.ini " OOOCI_BROWSER_LINKS+=" $promotion_file_uri/$branch.ini" fi fi + if [[ -f $promotion_file_path/component/$branch.yaml ]]; then + if grep -rni "$jobname$" $promotion_file_path/component/$branch.yaml ; then + local res+=" ** COMPONENT $branch ** $promotion_file_uri/component/$branch.yaml "$ + OOOCI_BROWSER_LINKS+=" $promotion_file_uri/component/$branch.yaml" + fi + fi done done purty_print "$res"