goodwinnk / teamcity-rest-client

Client for TeamCity REST API written in Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

teamcity-rest-client Build Status

Client for TeamCity REST API written in Kotlin. The code snippet below will download *.zip artifacts from the latest successfull build with tag publish of the specified build configuration to out directory.

val docs = BuildConfigurationId("Kotlin_StandardLibraryDocumentation")
val build = TeamCityInstance.guestAuth("https://teamcity.jetbrains.com").builds()
                            .fromConfiguration(docs)
                            .withTag("publish")
                            .latest()
build!!.downloadArtifacts("*.zip", File("out"))

Published on bintray

https://bintray.com/jetbrains/teamcity-rest-client/teamcity-rest-client/view

About

Client for TeamCity REST API written in Kotlin


Languages

Language:Kotlin 98.9%Language:Java 1.1%