|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
- [JIRA] (JENKINS-15438) Violations plugin: ex... jared.sze...@gmail.com (JIRA)
- [JIRA] (JENKINS-15438) Violations plugi... c.tor...@web.de (JIRA)
- [JIRA] (JENKINS-15438) Violations plugi... c.tor...@web.de (JIRA)
- [JIRA] (JENKINS-15438) Violations plugi... c.tor...@web.de (JIRA)
i had to do the following edits to get it working
– plugins\violations\model\BuildModel.java (line 144...)
private FileModelProxy getFileNameProxy(String name) {
FileModelProxy proxy = fileModelMap.get(name);
if (proxy != null) { return proxy; }
File xmlFile = new File(
xmlRoot, "file/" + name + ".xml");
fileModelMap.put(name, new FileModelProxy(xmlFile));
+ proxy = fileModelMap.get(name);
return proxy;
}
/**
*/
public void addFileCount(String type, String name, int[] count) { + // windows needs this replacement + name = name.replace("\\", "/"); FileModelProxy proxy = getFileNameProxy(name); getFileCounts(type).add(new FileCount(name, count, proxy)); }
–
– plugins\violations\ViolationsReport.java (lin 240...)
return new RecurDynamic(
+ "", name, proxy.build(build).contextPath(""));
} else {
–
sorry cant do a proper diff right now
hope that hlps others...