tests: add live Sonar tests with >=6.6 API changes (#6817)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
Caleb Cartwright
2021-07-25 11:32:38 -05:00
committed by GitHub
parent bd6f4ee146
commit b7ec6c0cb3

View File

@@ -47,3 +47,14 @@ t.create('Quality Gate (Alert Status)')
label: 'quality gate',
message: 'passed',
})
// Public instance shared by community member and permission granted for usage in tests
// https://github.com/badges/shields/pull/6636#issuecomment-886172161
t.create('Quality Gate (version >= 6.6)')
.get(
'/quality_gate/de.chkpnt%3Atruststorebuilder-gradle-plugin.json?server=https://sonar.chkpnt.de&sonarVersion=8.9'
)
.expectBadge({
label: 'quality gate',
message: isQualityGateStatus,
})