mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
fix link to javadoc in maven modules, archiving test javadoc test too , still need to display link to test javadoc
This commit is contained in:
1 parent
f5fbc56bc2
commit
2f7dae63bb
5 files changed
+70
-12
No files matched your search
@@ -133,14 +133,16 @@ public class JavadocArchiver extends Recorder {
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
if (new File(dir(), "help-doc.html").exists())
|
||||
File dir = dir();
|
||||
if (dir != null && new File(dir, "help-doc.html").exists())
|
||||
return Messages.JavadocArchiver_DisplayName_Javadoc();
|
||||
else
|
||||
return Messages.JavadocArchiver_DisplayName_Generic();
|
||||
}
|
||||
|
||||
public String getIconFileName() {
|
||||
if(dir().exists())
|
||||
File dir = dir();
|
||||
if(dir != null && dir.exists())
|
||||
return "help.gif";
|
||||
else
|
||||
// hide it since we don't have javadoc yet.
|
||||
|
||||
Reference in new issue
Block a user