Search code examples
hudsonjenkins-pluginshudson-plugins

Does the hudson msbuild plugin parse a given log file other that the console output


I know that Hudson msbuild plugin parses the console output. Is it possible to direct Hudson to parse a given log file at some path other than the console output?


Solution

  • After some clarification from comments: the OP wants to use Log Parse Plugin to parse a file other than the console output.

    It doesn't look like that plugin allows to select a source of the log, other than console. However you can display your other log file into the console output, and then the plugin will pick it up.

    Add the following to your "Execute Windows Batch command" step, probably after the build:
    type path/to/filename
    Provide a path to the filename you want to display, either relative to %WORKSPACE% or absolute.