You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aichaellee edited this page Apr 20, 2018
·
2 revisions
Error: java.io.IOException: Cannot run program “sh”
For Windows slave, please use Execute Windows batch command.
For Unix-like slave like linux or Mac, Execute shell is the option.
最终实现,当pull request经过验证合并后,通过webhook会触发事件,通知jenkins自动下载相应分支的source进行构建,构建成功后通过deploy to container插件发布到tomcat,完成初步的构建
~ TODO 🥇
1.与相关测试框架的集成,如selnum等
2.测试环境和开发环境下的数据库之间的同步问题
Jenkins构建项目时构建成功但不部署到tomcat的webapps下(Build step 'Deploy war/ear to a container' marked build as failure)
排查问题后发现是因为在项目的构建设置时忘记在下处打钩
Deloy on failure 表示当测试失败([ERROR] There are test failures.)时仍部署,此处一定要勾选,因为测试失败并不会影响项目