jenkins-statsd-plugin | send results and durations from jenkins jobs | TCP library
kandi X-RAY | jenkins-statsd-plugin Summary
kandi X-RAY | jenkins-statsd-plugin Summary
Send the results of Jenkins jobs to a statsd server. The results of all jobs are collected and sent to statsd. You do not need to add this plugin to each job.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Called when the run is completed
- Sends a stat
- Increments the statistics with the given keys
- Helper method to send stats
- Calculates the duration of a Run
- Sets the timing attribute for a key
- Gets the statsd config
- Gets the host
- Get port
- Gets the prefix
- Reads the host and port
jenkins-statsd-plugin Key Features
jenkins-statsd-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on jenkins-statsd-plugin
QUESTION
I have found a plugin for using StatsD with Jenkins (https://github.com/joemiller/jenkins-statsd-plugin) - however the HPI needs building because it is not available in Jenkins plugin repository nor is it aailable to download.
I followed the official instructions at https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial, but the $ mvn package
always exits with [ERROR] java.nio.file.NoSuchFileException: ~/src/jenkins-statsd-plugin/target/classes/META-INF/annotations/hudson.Extension
.
I have tried using java 6, 7, 8 and 10 but to no avail.
I wonder if anybody else has come up against this problem building Jenkins plugins and what they're solution was?
...ANSWER
Answered 2018-Jun-26 at 17:53I fixed this problem by setting JAVA_HOME to point to Oracle’s version of Java 8. It appears maven uses the JAVA_HOME environment variable, not your $PATH.
Edit: For extra context, Jenv was responsible for the version of Java in my $PATH.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jenkins-statsd-plugin
Browse to Jenkins
Manage Jenkins > Advanced > Upload Plugin > Choose File, upload jenkins-statsd.hpi
(TODO: get this into the jenkins plugin central website)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page