The sepia nodes, using JNLP, are having troubles building these rpms so
let's just use OVH nodes until we can resolve this.
The issue being that mock runs fine if we use 'sg', but the noarch rpm
is never built.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
# Add the Jenkins slave UID to the mock group.
sudo usermod -a -G mock $(whoami)
+newgrp mock
# Attempt the build. If it fails, print the mock logs to STDOUT.
-sg mock -c "make rpm" || ( tail -n +1 {root,build}.log && exit 1 )
+make rpm || ( tail -n +1 {root,build}.log && exit 1 )
# Chacra time