[8.0][builder] Fix LP group feature
Disable grouping by commit-message tags `(closes|partial|related)-bug` Change gerrit-topic group trigger from `bug/N*` to `group/N*` Change-Id: I7b40410eb7ac8257d47e691401893b941889a317 Closes-Bug: #1517090
This commit is contained in:
parent
22a7aacd95
commit
eda15f4d2c
@ -71,8 +71,8 @@ set_default_params () {
|
||||
fi
|
||||
if [ "$GERRIT_CHANGE_STATUS" == "NEW" ] ; then
|
||||
REQUEST_NUM="CR-$GERRIT_CHANGE_NUMBER"
|
||||
local _LP_BUG=`echo "$GERRIT_TOPIC" | egrep -o "bug/[0-9]+" | cut -d'/' -f2`
|
||||
[ -z "$_LP_BUG" ] && _LP_BUG=`echo "$GERRIT_MEGGASE" | egrep -i -o "(closes|partial|related)-bug: ?#?[0-9]+" | sort -u | head -1 | awk -F'[: #]' '{print $NF}'`
|
||||
local _LP_BUG=`echo "$GERRIT_TOPIC" | egrep -o "group/[0-9]+" | cut -d'/' -f2`
|
||||
#[ -z "$_LP_BUG" ] && _LP_BUG=`echo "$GERRIT_MEGGASE" | egrep -i -o "(closes|partial|related)-bug: ?#?[0-9]+" | sort -u | head -1 | awk -F'[: #]' '{print $NF}'`
|
||||
[ -n "$_LP_BUG" ] && LP_BUG="LP-$_LP_BUG"
|
||||
else
|
||||
if [ -n "$GERRIT_MESSAGE" ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user