Azure DevOps
Summary
This plugin collects Azure DevOps data through Azure DevOps REST API.
Supported Versions
Available for Azure DevOps Cloud. Check this doc for more details.
Entities
Check out the Azure DevOps entities collected by this plugin.
Data Refresh Policy
Right now, this plugin supports only full refresh. Check out the [data refresh policy](/zh/docs/v0.21/Overview/SupportedDataSources#Azure DevOps) of this plugin.
Metrics
Metrics that can be calculated based on the data collected from Azure DevOps:
- Commit Count
- Commit Author Count
- Added Lines of Code
- Deleted Lines of Code
- Build Count
- Build Duration
- Build Success Rate
- DORA - Deployment Frequency
- DORA - Lead Time for Changes
- DORA - Median Time to Restore Service
- DORA - Change Failure Rate
Configuration
Configuring Azure DevOps via config-ui.
API Sample Request
You can trigger data collection by making a POST request to /pipelines
.
curl 'http://localhost:8080/pipelines' \
--header 'Content-Type: application/json' \
--data-raw '
{
"name": "MY PIPELINE",
"plan": [
[
{
"plugin": "azuredevops",
"options": {
"connectionId": 1,
"scopeId": "orgname/reponame",
"transformationRules": {
"deploymentPattern": "",
"productionPattern": ""
}
}
}
]
]
}
'