teamcity-package-params

A cli to notify TeamCity of the parameters stored in an npm package.json file.


Keywords
package.json, TeamCity, cli, ci, Continuous Integration
License
MIT
Install
npm install teamcity-package-params@3.2.0

Documentation

teamcity-package-reporter

Build Status Dependency Status devDependency Status

How to install

npm install -g teamcity-package-reporter

How to use

Change directory into a folder with an existing package.json file and then execute teamcity-package-reporter. It will report the following paramaters to TeamCity:

  • PACKAGE_NAME: The packages name attribute.
  • PACKAGE_DESCRIPTION: The packages description attribute.
  • PACKAGE_VERSION: The packages version attribute.
  • PACKAGE_LICENSE: The packages license attribute.

Therefore, to use it, make sure that you add parameters with the same names in TeamCity and then execute the command as one of your build tasks.