Fix pushrelease return code

- pushrelease doesn't escalate the return code of maven to the caller,
so in jenkins that will always look as succesful, which is wrong.
Fixed this case

Signed-off-by: Giovanni Meo <gmeo@cisco.com>