Enable mailing list for notify script 42/52442/2
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 1 Mar 2017 02:49:21 +0000 (12:49 +1000)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 1 Mar 2017 03:27:52 +0000 (22:27 -0500)
Change-Id: I5258d41b3371167645cfa96f6a7d2f100a59ec91
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/include-raw-autorelease-notify-build-failure.sh

index 0cdc8a4f8072207149975fd48b072062da881c18..448544674072c3251d26742aba28929208860a22 100644 (file)
@@ -9,8 +9,7 @@
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-#RELEASE_EMAIL="release@lists.opendaylight.org"
-RELEASE_EMAIL="abelur@linuxfoundation.org, thanh.ha@linuxfoundation.org"
+RELEASE_EMAIL="release@lists.opendaylight.org"
 ARCHIVES_DIR="$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER"
 CONSOLE_LOG="/tmp/autorelease-build.log"
 STREAM=${JOB_NAME#*-*e-}
@@ -65,8 +64,8 @@ if [ ! -z "${ARTIFACTID}" ] && [[ "${BUILD_STATUS}" != "SUCCESS" ]]; then
 
     if [ -z "${PROJECT}" ]; then
         PROJECT=${ARTIFACTID}
-        # TODO: unset the below line when ready to deploy to real lists
-        # RELEASE_EMAIL = "${RELEASE_EMAIL}, ${PROJECT}-dev@opendaylight.org"
+    else
+        RELEASE_EMAIL="${RELEASE_EMAIL}, ${PROJECT}-dev@opendaylight.org"
     fi
 
     SUBJECT="[release] Autorelease ${STREAM} build failure: ${PROJECT}"