Fixed tests badge submission URL
This commit is contained in:
parent
58c0f62604
commit
75b540c7ee
1 changed files with 2 additions and 1 deletions
|
@ -99,12 +99,13 @@ tasks {
|
|||
|
||||
if (project.properties["testsBadgeApiKey"] != null) {
|
||||
val apiKey = project.properties["testsBadgeApiKey"]
|
||||
println(apiKey)
|
||||
val response: HttpResponse<String> = HttpClient.newHttpClient()
|
||||
.send(
|
||||
HttpRequest.newBuilder()
|
||||
.uri(
|
||||
URI(
|
||||
"https://rife2.com/tests-badge/update/com.uwyn/urlencoder?" +
|
||||
"https://rife2.com/tests-badge/update/net.thauvin.erik/urlencoder?" +
|
||||
"apiKey=$apiKey&" +
|
||||
"passed=$passed&" +
|
||||
"failed=$failed&" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue