Skip to content

Instantly share code, notes, and snippets.

@ngelik
Created April 6, 2015 09:21
Show Gist options
  • Select an option

  • Save ngelik/5ce27a7d2f0ff797e17c to your computer and use it in GitHub Desktop.

Select an option

Save ngelik/5ce27a7d2f0ff797e17c to your computer and use it in GitHub Desktop.
Examples of TeamCity API urls
Получение артифактов из Тимсити
Последний успешный билд
http://temcity_ip/repository/downloadAll/project_id/.lastSuccessful
Последний запиненный билд
http://temcity_ip/repository/downloadAll/project_id/.lastPinned
Специфический билд
http://temcity_ip/repository/downloadAll/project_id/10
Заданный артифакт из последнего билда ас заданным тегом
http://temcity_ip/repository/download/project_id/test.tcbuildtag/application/back/art-1.1-b%7Bbuild.number%7D.war
Последнего билд с заданным тегом
http://temcity_ip/repository/downloadAll/project_id/test.tcbuildtag
Получение информации о сборке
Headers
Accept: application/json
Accept: application/xml
http://temcity_ip/httpAuth/app/rest/builds/buildType:project_id,running:false,status:SUCCESS
http://temcity_ip/httpAuth/app/rest/builds/buildType:project_id,running:false,pinned:true
http://temcity_ip/httpAuth/app/rest/builds/buildType:project_id,running:false,tag:test
http://temcity_ip/httpAuth/app/rest/builds/buildType:project_id,running:false,number:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment