English | 中文 |
---|
This plugin collects Jenkins data through Remote Access API. It then computes and visualizes various devops metrics from the Jenkins data.
Metric Name | Description |
---|---|
Build Count | The number of builds created |
Build Success Rate | The percentage of successful builds |
In order to fully use this plugin, you will need to set various configurations via Dev Lake's config-ui
.
config-ui
The connection aspect of the configuration screen requires the following key fields to connect to the Jenkins API. As Jenkins is a single-source data provider at the moment, the connection name is read-only as there is only one instance to manage. As we continue our development roadmap we may enable multi-source connections for Jenkins in the future.
https://
or http://
i, ends with /
)https://ci.jenkins.io/
User
-> Configure
-> API Token
section on Jenkins.Click Save Connection to update connection settings.
In order to collect data from Jenkins, you have to compose a JSON looks like following one, and send it via Triggers
page on config-ui
:
[ [ { "plugin": "jenkins", "options": {} } ] ]