Add function for retrieving secret token from Jenkins master.