mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-06 00:25:58 +00:00
support new JenkinsPlugin type (jpi)
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user