support new JenkinsPlugin type (jpi)

This commit is contained in:
imod authored and Kohsuke Kawaguchi committed 2012-01-03 11:47:37 -08:00
1 parent 6e02aa9144
commit 386618dca4
18 files changed
+199 -87

No files matched your search

@@ -86,7 +86,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
File expandDir = null;
// if .hpi, this is the directory where war is expanded
boolean isLinked = archive.getName().endsWith(".hpl");
boolean isLinked = archive.getName().endsWith(".hpl") || archive.getName().endsWith(".jpl");
if (isLinked) {
// resolve the .hpl file to the location of the manifest file
final String firstLine = IOUtils.readFirstLine(new FileInputStream(archive), "UTF-8");