build jenkins url in a cleaner way