提交 00c5971d 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

support set more than one id for unit testcase

上级 da3b4a64
......@@ -107,12 +107,14 @@ func doTest(testToRun string) (err error) {
// exec testing
report := execSuite(req, "restapi")
// submit result, remove it if running via ci
config := commDomain.WorkspaceConf{
Url: "http://110.42.146.127:50080",
Username: "admin",
Password: "P2ssw0rd"}
err = zentaoHelper.CommitResult(report, 1, 0, config, nil)
// submit result for test
if runFrom != "jenkins" {
config := commDomain.WorkspaceConf{
Url: "http://110.42.146.127:50080",
Username: "admin",
Password: "P2ssw0rd"}
err = zentaoHelper.CommitResult(report, 1, 0, config, nil)
}
return
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册