2017-06-13 4 views

Antwort

1

Sie können den folgenden Code versuchen.

<properties> 
    <timestamp>${maven.build.timestamp}</timestamp> 
    <maven.build.timestamp.format>yyyy_MM_dd_HH_mm</maven.build.timestamp.format> 
    <properties> 

    <plugin> 
     <groupId>net.masterthought</groupId> 
     <artifactId>maven-cucumber-reporting</artifactId> 
     <version>${masterThougth.version}</version> 
     <executions> 
      <execution> 
       <id>execution</id> 
       <phase>verify</phase> 
       <goals> 
        <goal>generate</goal> 
       </goals> 
       <configuration> 
        <checkBuildResult>false</checkBuildResult> 
        <projectName>${project.artifactId}</projectName> 
        <buildNumber>${project.build}</buildNumber> 
        <parallelTesting>true</parallelTesting> 
        <outputDirectory>target/cucumber-report/${timestamp}</outputDirectory> 
        <cucumberOutput>target/cucumber-report/</cucumberOutput> 
       </configuration> 
      </execution> 
     </executions> 
    </plugin> 
+0

Danke Murthi.It arbeitet jetzt. – jena84

Verwandte Themen