Navigation Menu

Skip to content

Commit

Permalink
[JENKINS-42151] Noting that may be affected by JENKINS-42248 in the f…
Browse files Browse the repository at this point in the history
…uture
  • Loading branch information
stephenc committed Feb 22, 2017
1 parent d53f0f6 commit f68bc63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -282,6 +282,7 @@ public static abstract class OutputFile {
*
* @return {@code true} if the output file can be written to now, {@code false} if the write should be delayed
*/
// TODO potentially deprecate depending on how JENKINS-42248 is implemented
public boolean canWriteNow() {
return true;
}
Expand Down
Expand Up @@ -227,6 +227,7 @@ public File get() {

@Override
public boolean canWriteNow() {
// TODO rework once JENKINS-42248 is solved
GregorianCalendar timestamp = new GregorianCalendar();
timestamp.setTimeInMillis(System.currentTimeMillis() - 10000L);
Queue.Item probe = new Queue.WaitingItem(timestamp, folder, Collections.<Action>emptyList());
Expand Down

0 comments on commit f68bc63

Please sign in to comment.