OctoTFS is a repository containing components for integration with Team Foundation Server and Visual Studio Team Services (VSTS).
Visual Studio Team Services (VSTS) was formerly known as Visual Studio Online (VSO)
Note: Use the project in Octopus to deploy. These steps are only for manual releases, which should be avoided.
sudo npm install -g tfx-cli
# Increment version number from the one shown at https://marketplace.visualstudio.com/items?itemName=octopusdeploy.octopus-deploy-build-release-tasks-test&targetId=7b703d9c-2348-4d6d-b8fb-df60fdec5ec4&utm_source=vstsproduct&utm_medium=ExtHubManageList
./pack.ps1 Test 2.0.96
# Get access token from https://octopus-deploy.visualstudio.com/_details/security/tokens. Remember to select "All accessible accounts".
./publish.ps1 Test 2.0.96 wieufvliuwefliquwefliqwevfliqwevfliqweuvfliqwevf
Custom Build Steps for Team Build vNext
For usage, see the Build Steps Readme.
- Create Octopus Package
- Push Packages to Octopus
- Create Octopus Release
- Deploy Octopus Release
- Promote Octopus Release
- Make sure you have node.js installed
- Node: 8.11.3 or later (Note node installer does not update npm)
- NPM: 5.6.0+ (run
npm install npm@5.6.0 -g
) - TFX (npm install tfx -g)
If you intend to publish the extension either to a local TFS instance or otherwise you will also need powershell core or powershell installed.
Run npm run build
to build which will generate the full extension content required to create the extension VSIX.
In order to package and test the extension on a local TFS instance without publishing to the marketplace you can run ./pack.ps1 -environment localtest -version "x.x.x"
You can follow the Microsoft documentation on how to install to TFS instance.
Although we use webpack to bundle we don't generally include the dependencies as part of the bundle itself. We treat these as external and install the associated modules for the task based on the global dependencies that we have. We also previously bundled a version of octo tools, however we no longer bundle in favor of using an octo installer task.