Skip to content

Commit

Permalink
add component promotion criteria search
Browse files Browse the repository at this point in the history
  • Loading branch information
marios committed Mar 18, 2020
1 parent e67a2cb commit df4f313
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion oooci-jobs.sh
Expand Up @@ -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"
Expand Down

0 comments on commit df4f313

Please sign in to comment.