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) {
|
if (project.properties["testsBadgeApiKey"] != null) {
|
||||||
val apiKey = project.properties["testsBadgeApiKey"]
|
val apiKey = project.properties["testsBadgeApiKey"]
|
||||||
|
println(apiKey)
|
||||||
val response: HttpResponse<String> = HttpClient.newHttpClient()
|
val response: HttpResponse<String> = HttpClient.newHttpClient()
|
||||||
.send(
|
.send(
|
||||||
HttpRequest.newBuilder()
|
HttpRequest.newBuilder()
|
||||||
.uri(
|
.uri(
|
||||||
URI(
|
URI(
|
||||||
"https://rife2.com/tests-badge/update/com.uwyn/urlencoder?" +
|
"https://rife2.com/tests-badge/update/net.thauvin.erik/urlencoder?" +
|
||||||
"apiKey=$apiKey&" +
|
"apiKey=$apiKey&" +
|
||||||
"passed=$passed&" +
|
"passed=$passed&" +
|
||||||
"failed=$failed&" +
|
"failed=$failed&" +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue