如何在tomcat中启动springboot build作为TeamCity步骤?

时间:2017-12-21 20:45:52

标签: node.js maven tomcat spring-boot teamcity

我正在尝试设置TeamCity计划来运行用ReactJs编写的e2e测试。我的e2e测试带来了IE浏览器,为此,我在Windows机器上安装了TeamCity Agent。我目前面临的问题是,我可以成功启动我的springboot嵌入式tomacat,但TeamCity步骤仍然存在。任何人都可以建议我如何解决它。我的TeamCity构建步骤如下。

  1. 从git和maven安装所有模块检查应用程序
  2. 启动tomcat,我正在使用此命令mvn spring-boot:run
  3. 开始e2e测试。 npm test-e2e
  4. 停止tomcat
  5. 但构建步骤仍停留在第2步。我需要找到一种方法在Windows机器的后台启动springboot tomcat我认为。

0 个答案:

没有答案