mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
Added UI for displaying what mojos were run. (#297)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2931 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
d499c37757
commit
6cfe11e2d5
3 files changed
+61
No files matched your search
@@ -68,4 +68,16 @@ public final class ExecutedMojo implements Serializable {
|
||||
}
|
||||
this.digest = digest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns duration in a human readable text.
|
||||
*/
|
||||
public String getDurationString() {
|
||||
return Util.getTimeSpanString(duration);
|
||||
}
|
||||
|
||||
public String getReadableExecutionId() {
|
||||
if(executionId==null) return "-";
|
||||
else return executionId;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user