Skip to content

Commit

Permalink
Use more precise time in description for build status
Browse files Browse the repository at this point in the history
  • Loading branch information
terabyte committed Nov 17, 2015
1 parent c666797 commit 87b09a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public BuildStatusAddOperation(StashbotUrlBuilder sub, BuildStatusService bss, P

public void setBuildStatus(Repository repo, JobTemplate jt, BuildState bs, long buildNumber) throws SQLException {
Date now = new Date(java.lang.System.currentTimeMillis());
DateFormat df = DateFormat.getDateInstance();
DateFormat df = DateFormat.getDateTimeInstance();

// key should be the jenkins job name
String key = jt.getBuildNameFor(repo);
Expand Down

0 comments on commit 87b09a0

Please sign in to comment.