Still there with Jenkins 1.472 and Dependency Graph 0.2.
Source code is on github at https://github.com/jenkinsci/depgraph-view-plugin
The culprit is
src/main/java/hudson/plugins/depgraph_view/DotStringGenerator.java which does
the following:
private String projectToNodeString(AbstractProject<?, ?> proj) {
return escapeString(proj.getFullDisplayName()) +
" [href=" +
getEscapedProjectUrl(proj) + "]";
}
private String getEscapedProjectUrl(AbstractProject<?, ?> proj) {
return escapeString(Hudson.getInstance().getRootUrlFromRequest() +
proj.getUrl());
}
getRootUrlFromRequest is most probably getting the URL based on whatever HTTP
GET Jenkins received. In our setup, there is a proxy in front of Jenkins and
hence any requests are made to 127.0.0.1:8080.
The plugin need to instead use whatever "Jenkins URL" is configured.
Our Apache conf makes https://integration.mediawiki.org/ci to be proxied to http://localhost:8080/ci
ProxyPass /ci http://localhost:8080/ci
ProxyPassReverse /ci http://localhost:8080/ci
ProxyRequests Off
<Proxy http://localhost:8080/ci*>
Order deny,allow
Allow from all
</Proxy>
https://integration.mediawiki.org/ci/view/All/job/MediaWiki-postgres-phpunit/depgraph-view/graph.map
is returning a URL containing localhost.