Skip to content

SonarSource/sonar-scanner-vsts

Repository files navigation

SonarQube/SonarCloud Azure Pipelines Extension

Build Status

Sonar's Clean Code solutions help developers deliver high-quality, efficient code standards that benefit the entire team or organization.

Marketplace

https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud

Have Questions or Feedback?

For support questions ("How do I?", "I got this error, why?", ...), please head to the SonarSource forum. There are chances that a question similar to yours has already been answered.

Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-)

Contributing

If you would like to see a new feature, please create a new thread in the forum "Suggest new features".

Please be aware that we are not actively looking for feature contributions. The truth is that it's extremely difficult for someone outside SonarSource to comply with our roadmap and expectations. Therefore, we typically only accept minor cosmetic changes and typo fixes.

With that in mind, if you would like to submit a code contribution, please create a pull request for this repository. Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make.

Make sure that you follow our code style and all tests are passing (Travis build is executed for each pull request).

Developer documentation

How to set the environment

  • Install NPM (v8 or higher) / Node.js (v14 or higher)
  • npm install -g tfx-cli
  • bash scripts/install.sh (run scripts/install.ps1 on Windows)

Package a production build

  • npm run build

Package a test build

  • npm run test-build -- --publisher <publisher-id>

Run tests

  • npm test

License

Copyright 2017-2024 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0)