This plugin collects Jenkins data through Remote Access API. It then computes and visualizes various DevOps metrics from the Jenkins data, which helps tech leads and DevOps engineers to answer questions such as:
Available for Jenkins v2.263.x+. Check this doc for more details.
Please note that it is important to avoid rerunning Jenkins builds in place, and instead ensure that each rerun has a unique build number. This is because rerunning builds with the same build number can lead to inconsistencies in the data collected by the Jenkins plugin.
Check out the Jenkins entities collected by this plugin.
Check out the data refresh policy of this plugin.
Metrics that can be calculated based on the data collected from Jenkins:
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": "project1-BLUEPRINT",
"blueprintId": 1,
"plan": [
[
{
"plugin": "jenkins",
"options": {
"connectionId": 1,
"scopeId": "auto_deploy",
"transformationRules":{
"deploymentPattern":"",
"productionPattern":""
}
}
}
]
]
}
'
or
curl 'http://localhost:8080/pipelines' \
--header 'Content-Type: application/json' \
--data-raw '
{
"name": "project1-BLUEPRINT",
"blueprintId": 2,
"plan": [
[
{
"plugin": "jenkins",
"options": {
"connectionId": 1,
"jobFullName": "auto_deploy",
"transformationRules":{
"deploymentPattern":"",
"productionPattern":""
}
}
}
]
]
}
'