`request.getRootPath()` returns a URL containing the host name. This causes links not work when Jenkins is behind a HTTP proxy.
`rootURL` works well as it returns only a path without a host name.