Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

VSTS pull request bot (reference implementation)

License

Notifications You must be signed in to change notification settings

microsoft/tfsgit-pr-injector

Repository files navigation

tfsgit-pr-injector

This is a TFS Build task that will post issues detected by a SonarQube incremental analysis to a Pull Request. It has been tested with Maven and Gradle.

Dev:

  • install node
  • install typescript globally: npm install -g typescript
  • npm install to install all the dependencies
  • npm run info for a description of all the scripts
  • building and debugging tests work from inside VSCode - build (ctrl+shift+b) will transpile the ts and you can F5 into a mocha test
  • npm run test will build and run all the tests
  • to try out the VSTS Git API endpoint, have a look at the PrcaService.DriverTest

Packaging:

  • make sure to have installed all dependencies and to have built the project (npm install -g typescript, npm install and npm run test will do it)
  • npm run package bundles all the files that form this build task
  • the task is in bin/package
  • to test the task on your own account, install it using the tfx-cli utility https://www.npmjs.com/package/tfx-cli

About

VSTS pull request bot (reference implementation)

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •