Skip to content
/ tcjson Public

Server Side Plugin for TeamCity that allows JSON and JSONP integration for Jenkins/Hudson applications

Notifications You must be signed in to change notification settings

cread/tcjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 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 Jenkins/Hudson JSON API.

Currently only supports TeamCity 8.x and up.

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:

curl -u <username>:<password> http://<teamcity-url>/httpAuth/app/json/api/json

To see all active builds for a given project:

curl -u <username>:<password> http://<teamcity-url>/httpAuth/app/json/<projectId>/api/json

To see all active builds for a list of projects:

curl -u <username>:<password> http://<teamcity-url>/httpAuth/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 would prefer seeing a proper 401 response code then simply add /httpAuth/ to the front of the URL.

About

Server Side Plugin for TeamCity that allows JSON and JSONP integration for Jenkins/Hudson applications

Resources

Stars

Watchers

Forks

Packages

No packages published