Unable to generate cucumber reports in jenkins. net.masterthought.cucumber.ValidationException: None report file was added

后端 未结 4 770
囚心锁ツ
囚心锁ツ 2021-01-16 06:01

I am using jenkins to run jobs that uses maven with cucumber . my jobs are running succesfully. I have also managed the plugin Cucumber report in jenkins. But when i view th

4条回答
  •  死守一世寂寞
    2021-01-16 06:35

    This might help for those who are looking for answer.

    @CucumberOptions(
            features= "C:\\Users\\dd pc\\workspace\\PracticeCucumber\\src\\main\\java\\com\\qa\\feature\\Test.feature",
            glue= {"com\\qa\\stepDefinition"},
            format= {"pretty","html:test-output_1",
                    "json:target/cucumber-reports/CucumberTestReport.json"},
            plugin = ("json:target/cucumber-reports/CucumberTestReport.json"),
            monochrome= true,
            dryRun= false
    
            )
    

提交回复
热议问题