提交 2c5a30f5 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

ignore submit test results with no productId provided

上级 1af34433
......@@ -391,6 +391,11 @@
"id": "fail_to_submit_unit_test_result",
"translation": "Fail to submit unit test results to Zentao %s"
},
{
"id": "ignore_to_submit_result",
"translation": "Ignore to submit test result with no productId provided。"
},
{
"id": "server_return",
"translation": "服务器返回:"
......
......@@ -398,6 +398,11 @@
"id": "fail_to_submit_unit_test_result",
"translation": "提交单元测试结果到禅道失败 %s"
},
{
"id": "ignore_to_submit_result",
"translation": "您未提供productId,忽略提交测试结果。"
},
{
"id": "server_return",
"translation": "服务器返回:"
......
此差异已折叠。
......@@ -15,6 +15,10 @@ import (
)
func CommitTestResult(report model.TestReport, testTaskId int) {
if vari.ProductId == "" {
}
conf := configUtils.ReadCurrConfig()
Login(conf.Url, conf.Account, conf.Password)
......
......@@ -2,6 +2,7 @@ rm -rf ztf
mkdir ztf
mkdir ztf/log
cp -r conf ztf/
cp -r runtime ztf/
cp -r demo ztf/
/Users/aaron/go/bin/go-bindata -o=res/res.go -pkg=res res/ res/doc res/json res/template
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册