refactored configuring jenkins during provisioning