getting cannot find symbol variable ExtentCucumberAdapter on jenins I am using extentcucumber report adapter version 5
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>5.4.2</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
<version>5.4.2</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-core</artifactId>
<version>5.4.2</version>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>gherkin</artifactId>
<version>2.7.3</version>
</dependency>
<dependency>
<groupId>tech.grasshopper</groupId>
<artifactId>extentreports-cucumber5-adapter</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>4.1.5</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
extent report is generated on the Jenkins but no report is available
Are u referring to the adapter in the CucumberOptions plugin option? How are u using it? Attach the stacktrace.
Consider cleaning up your pom. U are mixing cucumber versions 5.4.2 and 5.7.0 plus an ancient info.cukes. For cucumber specifically, u only need to add cucumber-java, cucumber-junit and cucumber-pico in the POM. U got a mix of junit dependencies. Remove both as cucumber will get junit 4.13 as a transitive dependency. No need for extentreports dependency, the adapter will get it.
U could post this issue to this repo - https://github.com/grasshopper7/extentreports-cucumber5-adapter/issues