我正在尝试使用 Ivy 插件(http://wiki.jenkins-ci.org/display/JENKINS/Ivy+Plugin)和 Artifactory 插件(http://wiki.jenkins-ci.org/display/JENKINS/神器+插件)。
我得到以下例外:
java.lang.NoClassDefFoundError: org/apache/ivy/core/IvyContext
at org.jfrog.build.extractor.listener.ArtifactoryBuildListener.buildStarted(ArtifactoryBuildListener.java:48)
at org.apache.tools.ant.Project.fireBuildStarted(Project.java:2077)
at org.apache.tools.ant.Main.runBuild(Main.java:746)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ClassNotFoundException: org.apache.ivy.core.IvyContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 6 more
根据这个错误报告,https://issues.jfrog.org/jira/browse/HAP-65,
该插件有意依赖外部常春藤配置设置
但是,我无处可以找到如何进行此外部配置。任何帮助,将不胜感激。