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
.
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.
- Connection Name [READONLY]
⚠️ Defaults to "Jenkins" and may not be changed.
- Endpoint URL (REST URL, starts with
https://
orhttp://
i, ends with/
)- This should be a valid REST API Endpoint eg.
https://ci.jenkins.io/
- This should be a valid REST API Endpoint eg.
- Username (E-mail)
- Your User ID for the Jenkins Instance.
- Password (Secret Phrase or API Access Token)
- Secret password for common credentials.
- For help on Username and Password, please see official Jenkins Docs on Using Credentials
- Or you can use API Access Token for this field, which can be generated at
User
->Configure
->API Token
section on Jenkins.
Click Save Connection to update connection settings.
In order to collect data from JIRA, you have to compose a JSON looks like following one, and send it via Triggers
page on config-ui
:
[
[
{
"plugin": "jenkins",
"options": {}
}
]
]