teamcity-properties

2.0.0 • Public • Published

TeamCity properties

Access TeamCity build parameters from Node.js.

Important: from TeamCity build you can only access system.* parameters.

Installation

Using npm:

npm install --save teamcity-properties

Usage

# test.properties
myCompany.project.name = example
var tcProps = require('teamcity-properties');
 
// may fail silently (return undefined)
var agentName = tcProps['agent.name'];
 
// throws if no such property
var projectName = tcProps.get('myCompany.project.name');
 
// get properties as namespaces (nested objects);
var asObject = tcProps.namespaces();
asObject.myCompany.project.name; // example

References

LICENSE

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    462
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    462
  • 1.1.0
    1
  • 1.0.0
    7

Package Sidebar

Install

npm i teamcity-properties

Weekly Downloads

470

Version

2.0.0

License

MIT

Last publish

Collaborators

  • anton-rudeshko