Yandex Metrica plugin allows to decorate all Jenkins pages with Yandex.Metrica tracking code. It helps you get descriptive reports and record the actions of individual users, find out what they are searching for on the build system, and how do they use it.
- Jenkins LTS 1.580.1 or higher
- Java SE Runtime Environment 1.8 or higher
- Yandex Metrica's account and counter
This plugin is available in the Jenkins Update Center. Official documentation could be found here.
You can install the plugin easily by uploading binary archive to Jenkins through Plugin Manager UI:
- Build binary release. See "Development section" for additional information.
- Go to Manage Jenkins -> Manage Plugins.
- Switch to the "Advanced" tab.
- In the "Upload Plugin" section, pick the binary downloaded in the first step and press "Upload".
Configuration section for this plugin is very simple:
You should specify only "Counter ID" parameter to integrate Jenkins with Yandex Metrica.
How to build the hpi
file:
-
Clone the git repository:
$> git clone https://github.com/vbauer/yandex-metrica-plugin
-
Change directory to the
"yandex-metrica-plugin"
repository:$> cd yandex-metrica-plugin
-
Build the hpi file from source:
$> mvn clean package
-
The hpi file is located at
"target/yandex-metrica.hpi"
. -
If you would like to run a local Jenkins instance with the plug-in:
$> mvn clean package hpi:run
Feel free to file bugs or pull requests here.
NB: If you would like to send PR, check your build with "strict"
profile (it runs PMD and Checkstyle Maven plugins):
$> mvn clean package -P strict
Yandex Metrica plugin is licensed under the MIT license. See LICENSE file for more information.