Skip to content

Commit

Permalink
Use the correct object to get log file
Browse files Browse the repository at this point in the history
  • Loading branch information
chipironcin authored and Jorge Marin committed Jul 6, 2018
1 parent b8b8738 commit ae92ff3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private void findText(Run<?, ?> run, FilePath workspace, TaskListener listener)
// printing this when checking console output will cause the plugin
// to find this line, which would be pointless.
// doing this only when fileSet!=null to avoid
logger.println("Looking for pattern " + "'" + regexp + "'" + " in the file " + "'" + build.getLogFile() + "'");
logger.println("Looking for pattern " + "'" + regexp + "'" + " in the file " + "'" + run.getLogFile() + "'");
}

final RemoteOutputStream ros = new RemoteOutputStream(logger);
Expand Down

0 comments on commit ae92ff3

Please sign in to comment.