Retrieves the latest build number/state from Jenkins.