X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fnotify-build-failure.sh;h=0e3fe29b4f3fed4d86795a2716cbe4bea83cae62;hb=d7c3880fe4578a70a16e2237bb8be8a1742c0291;hp=090e808039b1213b3c39127328813fc179737234;hpb=5a2c1a1d8fd167ac3e96fdc5f13a44edd59536a9;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/notify-build-failure.sh b/jjb/autorelease/notify-build-failure.sh index 090e80803..0e3fe29b4 100644 --- a/jjb/autorelease/notify-build-failure.sh +++ b/jjb/autorelease/notify-build-failure.sh @@ -11,6 +11,8 @@ # This script parses the console log to discover which project has caused a # build failure and notify the project as appropriate. +echo "---> notify-build-failure.sh" + NEWLINE=$'\n' RELEASE_EMAIL="release@lists.opendaylight.org" ARCHIVES_DIR="$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER" @@ -69,6 +71,7 @@ if [ ! -z "$ARTIFACT_ID" ]; then --else -o ""\ "$p" 2>/dev/null) if [ ! -z "${GROUP}" ]; then + # shellcheck disable=SC2207 grouplist+=($(echo "${GROUP}" | awk -F'.' '{ print $3 }')) fi done < <(find . -name "pom.xml")