Update the rootUrl to be app.rootUrl -> it takes into account the configuration setting for the jenkins url