{"id":28496010,"url":"https://github.com/sonarsource/sonar-scanner-azdo","last_synced_at":"2026-03-16T18:05:38.550Z","repository":{"id":19832439,"uuid":"88033402","full_name":"SonarSource/sonar-scanner-azdo","owner":"SonarSource","description":"Sonar Azure DevOps Services Extensions","archived":false,"fork":false,"pushed_at":"2025-06-20T15:21:32.000Z","size":6344,"stargazers_count":109,"open_issues_count":0,"forks_count":131,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-06-20T16:34:48.985Z","etag":null,"topics":["azuredevops"],"latest_commit_sha":null,"homepage":"https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarqube-extension-for-azure-devops/","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SonarSource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-12T09:19:42.000Z","updated_at":"2025-06-20T15:21:36.000Z","dependencies_parsed_at":"2023-09-22T16:02:55.843Z","dependency_job_id":"b005e60c-6cf4-443d-b06b-ada05297a3ab","html_url":"https://github.com/SonarSource/sonar-scanner-azdo","commit_stats":null,"previous_names":["sonarsource/sonar-scanner-azdo","sonarsource/sonar-scanner-vsts"],"tags_count":174,"template":false,"template_full_name":null,"purl":"pkg:github/SonarSource/sonar-scanner-azdo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanner-azdo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanner-azdo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanner-azdo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanner-azdo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SonarSource","download_url":"https://codeload.github.com/SonarSource/sonar-scanner-azdo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanner-azdo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263165895,"owners_count":23424035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azuredevops"],"created_at":"2025-06-08T11:38:25.577Z","updated_at":"2026-02-19T09:36:30.938Z","avatar_url":"https://github.com/SonarSource.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure DevOps extension for SonarQube (Server, Cloud)\n\n[![Build Status](https://dev.azure.com/sonarsource/SonarScannerAzdo/_apis/build/status%2FSonarSource.sonar-scanner-azdo?branchName=master)](https://dev.azure.com/sonarsource/SonarScannerAzdo/_build/latest?definitionId=160\u0026branchName=master)\n\nSonar's [Clean Code solutions](https://www.sonarsource.com/solutions/clean-code/?utm_medium=referral\u0026utm_source=github\u0026utm_campaign=clean-code\u0026utm_content=sonar-scanner-azdo) help developers deliver high-quality, efficient code standards that benefit the entire team or organization.\n\n## Marketplace\n\n- [SonarQube Server Extension](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube)\n- [SonarQube Cloud Extension](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud)\n\n## Have Questions or Feedback?\n\nFor support questions (\"How do I?\", \"I got this error, why?\", ...), please head to the [SonarSource forum](https://community.sonarsource.com/c/help). There are chances that a question similar to yours has already been answered.\n\nBe 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. :-)\n\n## Contributing\n\nIf you would like to see a new feature, please create a new thread in the forum [\"Suggest new features\"](https://community.sonarsource.com/c/suggestions/features).\n\nPlease 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.\n\nWith 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.\n\nMake sure that you follow our [code style](https://github.com/SonarSource/sonar-developer-toolset#code-style) and all tests are passing (GitHub Actions build and Azure DevOps integration tests are executed for each pull request).\n\n## Developer documentation\n\n### How to set the environment\n\n- Install NPM (v8 or higher) / Node.js (v14 or higher)\n- ```bash\n  npm install -g tfx-cli\n  npm install\n  ```\n\n### Formatting and Linting\n\nAutomatic formatting can be achieved by using `npm run format`. Pipeline execution in PRs will fail if the format is not ok. There is also linting enabled in the pipeline, you can run `npm run lint` to ensure your code is properly lint.\n\n### Run tests\n\n```bash\nnpm test\n```\n\nTo run the same set of validation that happens in the pipeline, use:\n\n```bash\nnpm run validate-ci\n```\n\n### Package a production build\n\n```bash\nnpm run build\n```\n\n### Package a test build\n\n```bash\nnpm run test-build -- --publisher \u003cyour-publisher\u003e\n```\n\n### Update the extension/task versions automatically\n\nDuring testing, when publishing an extension for validation, it is useful to have a way to increment the patch versions automatically so your changes are not rejected.\n\nUse these helpers to automatically bump the patch versions of the extensions and tasks, to ensure your changes are taken\n\n```bash\n# Change the task versions from X.Y.X to X.Y.123\nBUILD_BUILDID=123 npx gulp ci:azure:hotfix-tasks-version\n\n# Change the extensions versions from X.Y.Z to X.Y.Z.123\nBUILD_BUILDID=123 npx gulp ci:azure:hotfix-extensions-version\n```\n\nRun a test build after to create a test extension with the modified versions. Increment the value of `BUILD_BUILDID` every time you want to publish a new version for test purposes.\n\n### Package a test build with custom .NET scanners inside the extension\n\nDownload the sonar-scanner-XXX-net.zip and sonar-scanner-XXX-net-framework.zip that you wish to test from the [SonarScanner for .NET releases page](https://github.com/SonarSource/sonar-scanner-msbuild/releases).\n\nWhen building the extension with your test publisher use the command:\n\n```bash\nSCANNER_NET_FRAMEWORK_LOCATION=/path/to/sonar-scanner-9.0.0-rc.99116-net-framework.zip \\\nSCANNER_NET_LOCATION=/path/to/sonar-scanner-9.0.0-rc.99116-net.zip \\\nnpm run test-build -- --publisher \u003cyour-publisher\u003e\n```\n\n## License\n\nCopyright 2017-2024 SonarSource.\n\nLicensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonarsource%2Fsonar-scanner-azdo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonarsource%2Fsonar-scanner-azdo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonarsource%2Fsonar-scanner-azdo/lists"}