Class ConsoleLogHandler

java.lang.Object
io.jenkins.plugins.analysis.core.util.ConsoleLogHandler

public final class ConsoleLogHandler extends Object
Handles references to issues in the console log.
Author:
Ullrich Hafner
  • Field Details

    • JENKINS_CONSOLE_LOG_FILE_NAME_ID

      public static final String JENKINS_CONSOLE_LOG_FILE_NAME_ID
      ID that indicates that an issue references a line in the console log of a build.
      See Also:
  • Method Details

    • isInConsoleLog

      public static boolean isInConsoleLog(String fileName)
      Returns whether the specified issue refers to a line in the console log.
      Parameters:
      fileName - the affected file
      Returns:
      true if the issue refers to a line in the console log, false if the issue refers to a source code file in the workspace