File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ echo '<th>Last updated</th>'
5353echo ' <th>OK</th>'
5454echo ' <th>Action</th>'
5555echo ' <th>Build</th>'
56+ echo ' <th>Quality</th>'
5657echo ' </tr>'
5758
5859# List components of the BOM, and loop over them.
7273 url=$( ./project-url.sh " $g :$a " )
7374 url=${url#* }
7475
75- # Compute CI badge
76+ # Compute badges
7677 case " $url " in
7778 https://github.com/* )
7879 slug=${url# https:// github.com/ }
7980 ciOverride=$( grep " ^$slug " ci-badges.txt)
8081 test " $ciOverride " &&
8182 ciBadge=${ciOverride# $slug } ||
8283 ciBadge=" <td class=\" badge\" ><a href=\" https://travis-ci.com/$slug \" ><img src=\" https://travis-ci.com/$slug .svg?branch=master\" ></a></td>"
84+ qualityBadge=" <td class=\" badge\" ><a href=\" https://lgtm.com/projects/g/$slug /context:java\" ><img src=\" https://img.shields.io/lgtm/grade/java/g/$slug .svg\" ></a></td>"
8385 ;;
8486 * )
8587 ciBadge=" <td>-</td>"
88+ qualityBadge=" <td>-</td>"
8689 ;;
8790 esac
8891
176179 echo " <td>$releaseOK </td>"
177180 echo " <td sorttable_customkey=\" $actionKey \" >$action </td>"
178181 echo " $ciBadge "
182+ echo " $qualityBadge "
179183 echo ' </tr>'
180184done
181185
You can’t perform that action at this time.
0 commit comments