mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Update messages sent at build start/failure/sucess
This commit is contained in:
parent
0225d03387
commit
8e76f10074
2 changed files with 8 additions and 1 deletions
|
@ -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} ..."
|
||||
}
|
||||
|
||||
# ################# #
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue