Introduce the jenkins_port function

Fixes #206