Updated build-repo job to include the remote host and build history variables