Minor refactor in [azuredevopstests] (#3651)
Cherry-picked from #3410; should simplify reworking it.
This commit is contained in:
@@ -206,17 +206,13 @@ module.exports = class AzureDevOpsTests extends AzureDevOpsBase {
|
||||
)
|
||||
|
||||
// https://dev.azure.com/azuredevops-powershell/azuredevops-powershell/_apis/test/ResultSummaryByBuild?buildId=20
|
||||
const url = `https://dev.azure.com/${organization}/${project}/_apis/test/ResultSummaryByBuild`
|
||||
const options = {
|
||||
qs: {
|
||||
buildId,
|
||||
},
|
||||
headers,
|
||||
}
|
||||
|
||||
const json = await this.fetch({
|
||||
url,
|
||||
options,
|
||||
url: `https://dev.azure.com/${organization}/${project}/_apis/test/ResultSummaryByBuild`,
|
||||
options: {
|
||||
qs: { buildId },
|
||||
headers,
|
||||
},
|
||||
schema: buildTestResultSummarySchema,
|
||||
errorMessages,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user