Skip to content

Commit

Permalink
Deprecating getSlaveJarPath.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Dec 1, 2016
1 parent 3a44db1 commit 270f1d1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,12 @@ public File getTempDir() {
return tempDir;
}

/**
* @deprecated Will not work correctly in Jenkins 2.33 and later. Apparently unused anyway.
*/
@Deprecated
public File getSlaveJarPath() {
return new File(getJenkinsHome(),"war/WEB-INF/slave.jar");
return new File(getJenkinsHome(),"war/WEB-INF/slave.jar"); // TODO look for war/WEB-INF/lib/remoting-*.jar instead
}


Expand Down

0 comments on commit 270f1d1

Please sign in to comment.