Updated with the fix provided by Rodrigo to allow plugin to find the feature files on a windows system
This commit is contained in:
parent
6c3b61e329
commit
40a3637427
2
pom.xml
2
pom.xml
|
@ -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 -->
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue