diff --git a/runtime/launcher/src/main/java/io/takari/m2e/jenkins/launcher/Main.java b/runtime/launcher/src/main/java/io/takari/m2e/jenkins/launcher/Main.java index 1865b0c..f60847d 100644 --- a/runtime/launcher/src/main/java/io/takari/m2e/jenkins/launcher/Main.java +++ b/runtime/launcher/src/main/java/io/takari/m2e/jenkins/launcher/Main.java @@ -123,7 +123,7 @@ public static void main(String[] args) throws Exception { // copy plugin file under jenkinsHome File pf = new File(pd.getPluginFile()); - String ext = pf.getName().endsWith(".hpl") ? ".hpl" : ".jpi"; + String ext = pf.getName().endsWith(".hpl") ? ".hpl" : ".jpl"; File target = new File(pluginsDir, pd.getId() + ext); log.info("Copying plugin: " + pd.getPluginFile() + " to " + target.getName());