Updating the database when a project starts and completes a jenkins build