Update messages sent at build start/failure/sucess

This commit is contained in:
Alexandre Aubin 2018-06-30 18:29:10 +00:00
parent 0225d03387
commit 8e76f10074
2 changed files with 8 additions and 1 deletions

View file

@ -39,7 +39,7 @@ function main()
add_to_reprepro
echo "Build will start soon. See 'rebuildd-job list | tail'"
sendxmpppy "Launched build ${PACKAGE}/${VERSION} for ${DISTRIB}/${BRANCH} ..."
sendxmpppy "Added builds for ${PACKAGE}/${VERSION} in branch ${BRANCH} ..."
}
# ################# #

View file

@ -5,6 +5,8 @@ package=$2
version=$3
arch=$4
sendxmpppy "Starting build ${package}/${version} for $arch ..."
source /home/vinaigrette/config/config
source /home/vinaigrette/scripts/package_helpers.sh
@ -68,4 +70,9 @@ pbuilder build \
exit_code=$?
if [[ $exit_code != 0 ]];
then
sendxmpppy "Building ${package}/${version} for $arch failed ?!"
fi
exit $exit_code