#!/bin/bash
-# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
+# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
#
# 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"
--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")