Package Exports
- hubot-vso-scripts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hubot-vso-scripts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Hubot scripts for Visual Studio Online
A collection of Hubot scripts to perform tasks in Visual Studio Online.
Introduction
Hubot scripts for Visual Studio Online provides many commands to perform tasks in Visual Studio Online.
The scripts can run in two modes
- Trusted mode: the tasks against Visual Studio Online are performed using the same account
- Impersonate mode: the tasks against Visual Studio Online are perfomed on behalf of the user issuing the command. In this mode the user has to explicitly authorize hubot
Installation
To install, in your Hubot instance directory
npm install hubot-vso-scriptsInclude the package in your hubot's external-scripts.json
["hubot-vso-scripts"]Configuration
The required environment variables are
- HUBOT_VSONLINE_ACCOUNT - The Visual Studio Online account's name
Trust Mode
In trust mode we need to set the alternate credentials of the user who will perform the tasks
- HUBOT_VSONLINE_USERNAME: The alternate credentials username
- HUBOT_VSONLINE_PASSWORD: The alternate credentials password
Impersonate Mode
In impersonate we need to set the variables defined in the application registered in Visual Studio Online (Click here to know how to register an application in Visual Studio Online
- HUBOT_VSONLINE_APP_ID: The application ID
- HUBOT_VSONLINE_APP_SECRET: The application secret
- HUBOT_VSONLINE_AUTHORIZATION_CALLBACK_URL: The OAuth callback URL. This URL must be available from the chat service you're using
License
MIT