Giter Site home page Giter Site logo

jenkinsci / appdynamics-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codecentric/jenkins-appdynamics-plugin

18.0 5.0 11.0 112 KB

Jenkins plugin for AppDynamics integration, i.e. for getting performance measurements during acceptance performance test.

Home Page: https://plugins.jenkins.io/appdynamics-dashboard/

License: MIT License

Shell 0.42% Java 97.28% CSS 1.10% HTML 0.86% Batchfile 0.34%

appdynamics-plugin's Introduction

This plugin is written for integrating AppDynamics with Jenkins.

AppDynamics provides detailed information about any application and this data can be queried via the REST
interface. This plugin tries to fetch the information related to a build, e.g. after running JMeter, and
visualizes it within Jenkins.

See links below for more information:

http://www.appdynamics.com
http://www.jenkins-ci.org

Many thanks to the developers of the Jenkins Performance plugin
 <https://wiki.jenkins-ci.org/display/JENKINS/Performance+Plugin>,
on which this plugins is largely based.

appdynamics-plugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

appdynamics-plugin's Issues

Jenkins report image dead url

image

  1. While trying out this product i could not retrieve any graphs in Jenkins.

  2. Another thing i noticed is that my maven unit test finished at 2017-09-27T16:38:13+02:00
    But the test results only show 1 measurement at 16:36:00 should it not make several measurements during the test run? (every minute or so?)

Unable to build...

I am getting the following error:

Verify connection to AppDynamics REST interface ...
Connection successful, continue to fetch measurements from AppDynamics Controller ...
Ready building AppDynamics report
Verifying for improving or degrading performance, main metric: Overall Application Performance|Average Response Time (ms) where lower is better = true
Unable to fetch (threshold) metric to determine if build is degrading. Aborting

I would like to debug this error. When I tried to build the plugin, it is giving the following error (Non-resolvable parent POM: Could not find artifact). Could you please help?

➜ JenkinsPlugin git clone https://github.com/smarigowda/appdynamics-plugin.git
Cloning into 'appdynamics-plugin'...
remote: Counting objects: 600, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 600 (delta 10), reused 0 (delta 0)
Receiving objects: 100% (600/600), 79.10 KiB | 0 bytes/s, done.
Resolving deltas: 100% (201/201), done.
Checking connectivity... done.
➜ JenkinsPlugin ls -lrt
total 0
drwxr-xr-x 11 roopasantu staff 374 1 Aug 15:44 appdynamics-plugin
➜ JenkinsPlugin cd appdynamics-plugin
➜ appdynamics-plugin git:(master) mvn package
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/plugin/1.570/plugin-1.570.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jenkins-ci.plugins:appdynamics-dashboard:1.0.7-SNAPSHOT (/Users/roopasantu/SAN_Sky/WebSep/AppDynamics/JenkinsPlugin/appdynamics-plugin/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.jenkins-ci.plugins:plugin:pom:1.570 in central (http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 30, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
➜ appdynamics-plugin git:(master)

Pipeline Support

Hello,

Is there a way to use this plugin with the newer Jenkins pipeline jobs?

NPE in publisher

On behalf of NITIN KUMAR SHARMA:

hi Miel,

i trying to use “appdynamics-dashboard-1.0.1.hpi” in my Jenkin job to fetch the performance metrics after executing my Jmeter test cases.

i can see in the Jenkins console log that the connection with Appdynamic controller was successful but later while fetching the result “null pointer exception was thrown”…

Kindly let me know if the below log makes any sense to you:

Connection successful, continue to fetch measurements from AppDynamics ControllerERROR: Publisher nl.codecentric.jenkins.appd.AppDynamicsResultsPublisher aborted due to exception
java.lang.NullPointerException
at nl.codecentric.jenkins.appd.AppDynamicsReport.addMetrics(AppDynamicsReport.java:32)
at nl.codecentric.jenkins.appd.AppDynamicsDataCollector.createReportFromMeasurements(AppDynamicsDataCollector.java:58)
at nl.codecentric.jenkins.appd.AppDynamicsResultsPublisher.perform(AppDynamicsResultsPublisher.java:219)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
at hudson.model.Run.execute(Run.java:1757)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:234)

Build getting failed with for lower performance threshold

I have configured the performance threshold to 60% and 80 % for fail and unstable builds respectively. But I am unsure what exactly the issue is but the build is getting failed with the following error.

Calculated average from previous reports: 36.29135802469136
Current report average: 13.8
Current average as percentage of total average: 38.02558171179752%
Metric: Overall Application Performance|Average Response Time (ms) reported performance compared to an average of 38.02558171179752% . Build status is: FAILURE

I didn't understand the reason why it is trying to get the average response compared with the past builds.

Unable to build hpi from latest source

Hi Miel,

The parent pom file is not accessible, hence unable to build the hpi file from Source. Here's the log

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jenkins-ci.plugins:appdynamics-dashboard:1.0.3-SNAPSHOT (/Users/kumar.gangaatharan/Documents/appdynamics-plugin/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.jenkins-ci.plugins:plugin:pom:1.555 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 30, column 9 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

When i try to browse through the central repo, there is no plugins folder, there's only a constant pool scanner folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.