#!/bin/bash -e # IMPORTANT: change these to appropriate values, or fetch them, for example # from the environment or from $(git show -s --format='%ae' $rev) TO_EMAIL=engineering@example.com FROM_EMAIL=laminar@example.com LAMINAR_URL=${LAMINAR_BASE_URL:-http://localhost:8080} LAMINAR_TITLE=${LAMINAR_TITLE:-Laminar CI} if [[ $RESULT = "success" ]]; then SVGICON=$(cat <<-EOF EOF ) else SVGICON=$(cat <<-EOF EOF ) fi sendmail -t <
$LAMINAR_TITLE
$SVGICON $JOB #$RUN
EOF