Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix reportsOnly on Maven plugin, close #893

  • Loading branch information...
commit be14bf3c28ed426a980ae0aa7d40a13bc34d779d 1 parent 41c779e
@pdalpra pdalpra authored
View
4 gatling-maven-plugin/src/main/java/com/excilys/ebi/gatling/mojo/GatlingMojo.java
@@ -73,7 +73,7 @@
* @parameter expression="${gatling.reportsOnly}" alias="ro"
* @description Generates the reports for the simulation in this folder
*/
- private File reportsOnly;
+ private String reportsOnly;
/**
* Uses this file as the configuration file.
@@ -296,7 +296,7 @@ private String buildTestClasspath() throws Exception {
}
if (reportsOnly != null) {
- args.addAll(asList("-" + CommandLineConstants.CLI_REPORTS_ONLY(), reportsOnly.getCanonicalPath()));
+ args.addAll(asList("-" + CommandLineConstants.CLI_REPORTS_ONLY(), reportsOnly));
}
if (outputDirectoryBaseName != null) {
Please sign in to comment.
Something went wrong with that request. Please try again.