Refactor Jenkins build order, set node dependencies before database provisioning