* CentOS 7 - devstack - 20170210-1356
* CentOS 7 - devstack - 20170221-1719
* CentOS 7 - devstack - newton - 20170117-0005
+* CentOS 7 - devstack-mitaka - 20170130-0523
* CentOS 7 - devstack-mitaka - 20170314-2255
+* CentOS 7 - devstack-newton - 20170130-0426
* CentOS 7 - devstack-newton - 20170314-2256
* CentOS 7 - docker - 20170117-0003
* CentOS 7 - docker - 20170120-1434
RELEASE_EMAIL="${RELEASE_EMAIL}, ${PROJECT}-dev@lists.opendaylight.org"
fi
- echo "${BODY}" | mail -a /tmp/error.txt \
- -r "Jenkins <jenkins-dontreply@opendaylight.org>" \
- -s "${SUBJECT}" "${RELEASE_EMAIL}"
+ # Only send emails in production (releng), not testing (sandbox)
+ if [ "${SILO}" == "releng" ]; then
+ echo "${BODY}" | mail -a /tmp/error.txt \
+ -r "Jenkins <jenkins-dontreply@opendaylight.org>" \
+ -s "${SUBJECT}" "${RELEASE_EMAIL}"
+ elif [ "${SILO}" == "sandbox" ]; then
+ echo "Running in sandbox, not actually sending notification emails"
+ echo "Subject: ${SUBJECT}"
+ echo "Body: ${BODY}"
+ else
+ echo "Not sure how to notify in \"${SILO}\" Jenkins silo"
+ fi
fi
rm $CONSOLE_LOG