mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
Use the newly introduced convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25475 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
89c66d5d00
commit
85c61ede96
2 files changed
+2
-2
No files matched your search
@@ -151,7 +151,7 @@ public class Fingerprinter extends Recorder implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
final long buildTimestamp = build.getTimestamp().getTimeInMillis();
|
||||
final long buildTimestamp = build.getTimeInMillis();
|
||||
|
||||
FilePath ws = build.getWorkspace();
|
||||
if(ws==null) {
|
||||
|
||||
@@ -111,7 +111,7 @@ public class JUnitResultArchiver extends Recorder implements Serializable,
|
||||
final String testResults = build.getEnvironment(listener).expand(this.testResults);
|
||||
|
||||
try {
|
||||
final long buildTime = build.getTimestamp().getTimeInMillis();
|
||||
final long buildTime = build.getTimeInMillis();
|
||||
final long nowMaster = System.currentTimeMillis();
|
||||
|
||||
TestResult result = build.getWorkspace().act(
|
||||
|
||||
Reference in new issue
Block a user