Socket
Socket
Sign inDemoInstall

teamcity

Package Overview
Dependencies
47
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    teamcity

TeamCity API for NodeJS


Version published
Weekly downloads
62
increased by14.81%
Maintainers
1
Install size
3.73 MB
Created
Weekly downloads
 

Readme

Source

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
});

Keywords

FAQs

Last updated on 16 Jul 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc