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