[libvirt PATCH 06/33] ci: build.sh: Add a wrapper function over the 'build' job