Skip to content

Commit

Permalink
Shorter child paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Oct 1, 2018
1 parent 15ea356 commit 9f9e0c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ private String fileAt(String revision, Run<?,?> run, SCMSource source, TaskListe
if (rev == null) {
return null;
} else {
FilePath ws = new FilePath(run.getRootDir()).child("tmp-" + revision);
FilePath ws = new FilePath(run.getRootDir()).child("tmp-" + revision.substring(0, 7));
source.build(rev.getHead(), rev).checkout(run, new Launcher.LocalLauncher(listener), ws, listener, null, SCMRevisionState.NONE);
return ws.child("file").readToString();
}
Expand Down

0 comments on commit 9f9e0c9

Please sign in to comment.