Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imod/jenkins-statistics
scripts to generate different statistics on jenkins usage
https://github.com/imod/jenkins-statistics
Last synced: 26 days ago
JSON representation
scripts to generate different statistics on jenkins usage
- Host: GitHub
- URL: https://github.com/imod/jenkins-statistics
- Owner: imod
- Created: 2012-04-12T17:03:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-03T08:42:59.000Z (over 10 years ago)
- Last Synced: 2023-03-11T17:33:11.255Z (over 1 year ago)
- Language: Groovy
- Homepage:
- Size: 98.6 KB
- Stars: 1
- Watchers: 2
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Jenkins Usage Statistics
========================Theses script are meant to create the underlying json's used to show the plugin statistics on the plugin info pages at jenkins-ci.org.
The json files are used by the confluence plugin ('hudson-plugin-info' - https://github.com/jenkinsci/backend-jenkins-plugin-info-plugin)HOWTO
-----1. download and unpack the raw data (*.json.gz) from from 'https://www.jenkins-ci.org/census/'
$> groovy download.groovy [pwd]2. collect the data from the raw json format and store it into a local SQLight database
... you might have to increase the memory: export JAVA_OPTS="-Xmx4000M -Xms4000M"
$> groovy collectNumbers.groovy3. generate the fine grained data set (json) for each plugin
$> groovy createJson.groovyThe final json files will be in [worksapce]/target/stats - these files have to be uploaded to a webserver to make them available for the confluence plugin.
All the scripts can be reexecuted in case a failure happens, e.g. the download will only download the files he needs and collecting the numbers will only happen on the raw data which is not imported yet.