目录

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
关于
119.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号