Pass the build ref to build scripts in the CI_BUILD_REF environment variable