Jenkins构建项目时构建成功但不部署到tomcat的webapps下(Build step 'Deploy war/ear to a container' marked build as fai)
构建后查看控制台输出BUILD SUCCESS但是Build step 'Deploy war/ear to a container' marked build as failure排查问题后发现是因为在项目的构建设置时忘记在下处打钩Deloy on failure 表示当测试失败([ERROR] There are test failures.)时仍部署,此处一定要勾选,
·
构建后查看控制台输出BUILD SUCCESS但是Build step 'Deploy war/ear to a container' marked build as failure
排查问题后发现是因为在项目的构建设置时忘记在下处打钩
Deloy on failure 表示当测试失败([ERROR] There are test failures.)时仍部署,此处一定要勾选,因为测试失败并不会影响项目
更多推荐
已为社区贡献10条内容
所有评论(0)