https://bugzilla.wikimedia.org/show_bug.cgi?id=35982

Antoine "hashar" Musso <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Antoine "hashar" Musso <[email protected]> 2012-07-04 08:03:40 
UTC ---
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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to