mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
jar files without .jar extension seems to confuse Java Web Start.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2143 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
b3b0b27f8d
commit
765dea3cc1
2 files changed
+7
-4
No files matched your search
@@ -316,8 +316,8 @@ public final class Slave implements Node, Serializable {
|
||||
/**
|
||||
* Serves jar files for JNLP slave agents.
|
||||
*/
|
||||
public JnlpJar getJnlpJars(String fileName) {
|
||||
return new JnlpJar(fileName);
|
||||
public JnlpJar getJnlpJars(String fileNamePlusJar) {
|
||||
return new JnlpJar(fileNamePlusJar.substring(0,fileNamePlusJar.length()-4)); // remove .jar
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user