https://github.com/vbauer/yandex-metrica-plugin
Jenkins Yandex Metrica plugin
https://github.com/vbauer/yandex-metrica-plugin
analytics jenkins jenkins-plugin metrica yandex
Last synced: 10 months ago
JSON representation
Jenkins Yandex Metrica plugin
- Host: GitHub
- URL: https://github.com/vbauer/yandex-metrica-plugin
- Owner: vbauer
- License: mit
- Created: 2015-09-30T20:57:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-05T09:24:35.000Z (over 7 years ago)
- Last Synced: 2025-06-09T19:48:34.323Z (11 months ago)
- Topics: analytics, jenkins, jenkins-plugin, metrica, yandex
- Language: Java
- Homepage:
- Size: 50.8 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Jenkins Yandex Metrica Plugin
[](https://travis-ci.org/vbauer/yandex-metrica-plugin)
Yandex Metrica plugin allows to decorate all Jenkins pages with [Yandex.Metrica](https://metrica.yandex.com) 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.
## Requirements
* Jenkins LTS 1.580.1 or higher
* Java SE Runtime Environment 1.8 or higher
* Yandex Metrica's account and counter
## Installation
This plugin is available in the Jenkins [Update Center](https://updates.jenkins-ci.org). Official documentation could be found [here](https://wiki.jenkins-ci.org/display/JENKINS/Yandex+Metrica+Plugin).
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
Configuration section for this plugin is very simple:

You should specify only "Counter ID" parameter to integrate Jenkins with Yandex Metrica.
## Development
How to build the `hpi` file:
1. Clone the git repository:
```sh
$> git clone https://github.com/vbauer/yandex-metrica-plugin
```
2. Change directory to the `"yandex-metrica-plugin"` repository:
```sh
$> cd yandex-metrica-plugin
```
3. Build the hpi file from source:
```sh
$> mvn clean package
```
4. The hpi file is located at `"target/yandex-metrica.hpi"`.
5. If you would like to run a local Jenkins instance with the plug-in:
```sh
$> mvn clean package hpi:run
```
## Contributing guidelines
Feel free to file bugs or pull requests [here](https://github.com/vbauer/yandex-metrica-plugin).
**NB:** If you would like to send PR, check your build with `"strict"` profile (it runs PMD and Checkstyle Maven plugins):
```sh
$> mvn clean package -P strict
```
## License
Yandex Metrica plugin is licensed under the MIT license. See [LICENSE](LICENSE.md) file for more information.