jenkinsci / appdynamics-plugin

Jenkins plugin for AppDynamics integration, i.e. for getting performance measurements during acceptance performance test.
https://plugins.jenkins.io/appdynamics-dashboard/
MIT License
18 stars 11 forks source link

Unable to build... #3

Closed smarigowda closed 10 years ago

smarigowda commented 10 years ago

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)

mdonkers commented 10 years ago

Hi,

Make sure your Maven settings are correctly configured as described here: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingUpEnvironment

BR, Miel