0.0.7 • Published 8 years ago

teamcity v0.0.7

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

TeamCity API

Build Status

TeamCity REST API

Under Construction

This library is still under heavy construction.

Installation

npm install teamcity

Usage

var TeamCity = require('teamcity').TeamCity

// Set-up authentication
var teamcity = new TeamCity({
  username: 'myUsername',
  password: 'myPassword'
});

// Get some builds
teamcity.builds(1234, function (build) {
  // Do stuff with build
})

Also has support for TeamCity locators

var buildsSinceBuild = teamcity.changesLocator()
  .buildType({id: 'bt9'})
  .sinceChange(5678);

// http://teamcity:8111/app/rest/changes/?locator=buildType:(id:bt9),sinceChange:5678
teamcity.changes(buildsSinceBuild, function (changes) {
  // Do stuff with changes
});

And nested parameters

teamcity.projects('project-one').parameters('param-one', function (value) {
  // Do stuff with value
});
1.0.0-preview.2

8 years ago

1.0.0-preview.1

8 years ago

1.0.0-preview

9 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago