Skip to content
forked from cread/tcjson

Server Side Plugin for TeamCity that allows JSON and JSONP ala Hudson

Notifications You must be signed in to change notification settings

kcowgill/tcjson

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

tcjson is a Server Side Plugin to add JSON and JSONP support to TeamCity. It is built to emulate the Hudson JSON API.

Built and tested with TeamCity 5.x. TeamCity 6.x supported too.

Installation

To install, simply copy the tcjson-[version].zip file to your ~/.BuildServer/plugins directory and restart your server.

Usage

Here are some sample HTTP requests.

To see all active builds:

GET /app/json/api/json

To see all active builds for a given project:

GET /app/json/<projectId>/api/json

To see all active builds for a list of projects:

GET /app/json/<projectId1>/<projectId2>/<projectId3>/api/json

Authentication is controlled via the global TeamCity settings. By default it will redirect you to the login page. If you'd like to see a propper 401 response code then simply add /httpAuth/ to the front of the URL.

About

Server Side Plugin for TeamCity that allows JSON and JSONP ala Hudson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.2%
  • Shell 0.8%