-
Improvement
-
Resolution: Fixed
-
Minor
-
None
The PCT can not be run against jenkins versions that embed a RC, alpha or beta version of
jenkins-core, trying to do that results in:
Exception in thread "main" java.io.IOException: no jenkins-core.jar in jenkins.war
at org.jenkins.tools.test.PluginCompatTester.scanWAR(PluginCompatTester.java:517)
at org.jenkins.tools.test.PluginCompatTester.testPlugins(PluginCompatTester.java:158)
at org.jenkins.tools.test.PluginCompatTesterCli.main(PluginCompatTesterCli.java:110)
The reason is that the method scanWar in PluginCompatTester uses the following code to locate the jenkins-core war
Matcher m = Pattern.compile("WEB-INF/lib/jenkins-core-([0-9.]+(?:-[0-9.]+)?(?:-SNAPSHOT)?)[.]jar").matcher(name);
- links to