1 MAIL_FILE=/tmp/_aros_build_mail_body
3 MAIL_SUBJECT_PREFIX="[BUILD]"
4 MAIL_SUBJECT_BASE="Nightly build on $CFG_NAME"
8 # $1 = description of result of build
11 MAIL_SUBJECT="$MAIL_SUBJECT_PREFIX $MAIL_SUBJECT_BASE $1"
14 mail_write "$MAIL_SUBJECT_BASE $1."
15 mail_write "Build started at $START_TIME UTC, finished at $STOP_TIME UTC."
16 mail_write "Upload started at $UPLOAD_START_TIME UTC, finished at $UPLOAD_STOP_TIME UTC."
24 # $* = extra options (attachments)
27 mutt -s "$MAIL_SUBJECT" -c $CFG_MAIL_CC $* -- $CFG_MAIL_TO <$MAIL_FILE