Skip to content

被测服务重新部署或者解决完bug提交代码再次部署之后,部署前的覆盖率信息会丢失。 #56

@wongqingbin

Description

@wongqingbin

http://127.0.0.1:8899/cov/triggerEnvCov
{
"uuid": "uuid",
"type": 2, // 1 全量; 2 增量
"gitUrl": "xxxxxx.git",
"subModule": "",
"baseVersion": "master",
"nowVersion": "dev",
"address": "127.0.0.1",
"port": "18513"
}

http://127.0.0.1:8899/cov/getEnvCoverResult?uuid=uuid
{
"code": 200,
"msg": "success",
"data": {
"coverStatus": 1,
"reportUrl": "http://127.0.01:8899/{uuid}/index.html",
"lineCoverage": 44.44,
"branchCoverage": 100.0,
"errMsg": "",
"logFile": "http://127.0.0.1:8899/logs/{uuid}.log"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions