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.

Revisions

  1. ngelik created this gist Apr 6, 2015.
    21 changes: 21 additions & 0 deletions teamcity_api_urls.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    Получение артифактов из Тимсити

    Последний успешный билд
    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