X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=scripts%2Flttng-tools%2Fgerrit-depends-on.sh;h=4003dfc1fb164183e46df22c71dbd99b29cffb8b;hb=f89243aeb6e359a3737f791cba6ad25e92def835;hp=062323bfb50c3f84279b76761605d7863d2cf93c;hpb=3f7ea864199cffe7601489aa0b3a2aeccf9c0695;p=lttng-ci.git diff --git a/scripts/lttng-tools/gerrit-depends-on.sh b/scripts/lttng-tools/gerrit-depends-on.sh index 062323b..4003dfc 100755 --- a/scripts/lttng-tools/gerrit-depends-on.sh +++ b/scripts/lttng-tools/gerrit-depends-on.sh @@ -36,9 +36,14 @@ touch "$property_file" pushd "${WORKSPACE}/src/lttng-tools" git rev-list --format=%B --max-count=1 HEAD | while read -r line; do + # Deactivate debug mode to prevent the gcc warning publisher from picking up + # compiler error present in the commit message. + set +x if ! [[ ${line} =~ ${re} ]]; then + set -x continue fi + set -x project=${BASH_REMATCH[1]} gerrit_id=${BASH_REMATCH[2]}