function failure() {
set -x
# early stage ? - let's not create /build/@PLDISTRO@
- if webpublish_misses_dir $WEBPATH ; then
+ if test -z "$WEBLOG" ; then
WEBHOST=localhost
WEBPATH=/tmp
WEBBASE=/tmp/vbuild-early-$(date +%Y-%m-%d)
if [ -n "$MAILTO" ] ; then
( \
echo "Subject: Failures with $MAIL_SUBJECT $BASE on $(hostname)" ; \
+ echo "To: $MAILTO" ; \
echo "See full build log at $WEBBASE_URL/log.txt" ; \
echo "and tail version at $WEBBASE_URL.ko" ; \
echo "See complete set of testlogs at $WEBBASE_URL/testlogs" ; \
function success () {
set -x
# early stage ? - let's not create /build/@PLDISTRO@
- if webpublish_misses_dir ${WEBPATH} ; then
+ if test -z "$WEBLOG" ; then
WEBHOST=localhost
WEBPATH=/tmp
WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt
if [ -n "$MAILTO" ] ; then
( \
echo "Subject: Success with ${MAIL_SUBJECT} ${BASE} on $(hostname)" ; \
+ echo "To: $MAILTO" ; \
echo "$PLDISTRO ($BASE) build for $FCDISTRO completed on $(date)" ; \
echo "See full build log at $WEBBASE_URL/log.txt" ; \
[ -n "$DO_TEST" ] && echo "See complete set of testlogs at $WEBBASE_URL/testlogs" ) \