The Dump Info BuildWrapper Plugin allows jobs to automatically dump some important Hudson-specific information into the job log.