如何从詹金斯运行黄瓜Maven项目

时间:2018-07-19 18:18:41

标签: selenium jenkins cucumber

我正在尝试从jenkins运行一个黄瓜Maven项目测试正在运行1,但浏览器未打开,错误是:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@43556938
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@53b32d7
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.52 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

我的pom文件是:

  <build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<encoding>UTF-8</encoding>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.2</version>
<configuration>
<configuration>
<includes>
<include>**/ReservationRunnerTest.java</include>
</includes>
</configuration>
</configuration>
</plugin>
</plugins>
</build>

</project>

请帮助,我具有所有依赖性,我的跑步者文件名为ReservationRunnerTest.java

0 个答案:

没有答案