Skip to main content

Retrieve Test Results

The following query retrieves the last 100 test results for a given build:

query GetBuildTestResults($buildId: ObjectID!) {
node(id: $buildId) {
... on Build {
status
passed
failedTestCount
testResults(first: 100) {
nodes {
passed
severity
reportTemplate {
code
name
}
}
}
}
}
}

Try in explorer