Updated with the fix provided by Rodrigo to allow plugin to find the feature files on a windows system

This commit is contained in:
Kingsley Hendrickse 2012-04-23 08:41:05 +01:00
parent 6c3b61e329
commit 40a3637427
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@
<groupId>net.masterthought.jenkins</groupId>
<artifactId>cucumber-reports</artifactId>
<version>0.0.2</version>
<version>0.0.3</version>
<packaging>hpi</packaging>
<!-- get every artifact through repo.jenkins-ci.org, which proxies all the artifacts that we need -->

View File

@ -62,9 +62,9 @@ public class Feature {
return result;
}
public String getFileName() {
return uri.replaceAll("/", "-") + ".html";
}
public String getFileName() {
return uri.replaceAll("/", "-").replaceAll("\\\\", "-") + ".html";
}
public int getNumberOfScenarios() {
return elements.length;