autoport: send webbuild messages also when not in batch mode
This commit is contained in:
parent
88ab767d1b
commit
06d4c75c90
2
autoport
2
autoport
@ -556,7 +556,7 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do
|
|||||||
echo $JOB_CURRENT >> $DATAARCHDIR/sentjobs
|
echo $JOB_CURRENT >> $DATAARCHDIR/sentjobs
|
||||||
echo -n "(OK) "
|
echo -n "(OK) "
|
||||||
autoport_log ${JOB_CURRENT} port ok
|
autoport_log ${JOB_CURRENT} port ok
|
||||||
if [ "$BATCH_MODE" -a "$WEBBUILD_URL" -a "$WEBBUILD_USER" ]; then
|
if [ "$WEBBUILD_URL" -a "$WEBBUILD_USER" ]; then
|
||||||
curl -s "$WEBBUILD_URL?REQUEST=message&USER=$WEBBUILD_USER&SECRET=$WEBBUILD_SECRET&USER_EMAIL=$WEBBUILD_EMAIL&\
|
curl -s "$WEBBUILD_URL?REQUEST=message&USER=$WEBBUILD_USER&SECRET=$WEBBUILD_SECRET&USER_EMAIL=$WEBBUILD_EMAIL&\
|
||||||
MESSAGE=`cgi_encodevar \"ported <b>$JOB_CURRENT</b> to <b>$TARGET_ARCH</b> and sent it to <b>$pkg_repository</b>\"`" >/dev/null
|
MESSAGE=`cgi_encodevar \"ported <b>$JOB_CURRENT</b> to <b>$TARGET_ARCH</b> and sent it to <b>$pkg_repository</b>\"`" >/dev/null
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user