Commit 8a9b81ea authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbs: fix add srpm to task, add verbose

parent 38c04e1d
...@@ -250,9 +250,11 @@ if [ -n "$SIGN" ]; then ...@@ -250,9 +250,11 @@ if [ -n "$SIGN" ]; then
done done
if [ -n "$TASKNUMBER" ] ; then if [ -n "$TASKNUMBER" ] ; then
echo "Add $TASKLIST to task $TASKNUMBER" echo "Add $TASKLIST to task $TASKNUMBER"
ssh $GIRARHOST task add $TASKNUMBER srpm $TASKLIST [ -n "$VERBOSE" ] && echo "...with command ssh $GIRARHOST task add $TASKNUMBER $TASKLIST"
ssh $GIRARHOST task add $TASKNUMBER $TASKLIST
else else
echo "Create task for $TASKLIST" echo "Create task for $TASKLIST"
[ -n "$VERBOSE" ] && echo "...with command ssh $GIRARHOST build -b $BINARYREPO $TASKLIST"
ssh $GIRARHOST build -b $BINARYREPO $TASKLIST ssh $GIRARHOST build -b $BINARYREPO $TASKLIST
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment