Checked over Jono's changes and updated how to get port number.
Removed mention of regexp on CloudBees java command.