'Jenkins continue running bat with errors

I'm using Vector Cast to run tests for embedded software.
In order to start running the tests I run a bat file.
This bat file produces an error, prints it, and keeps running until it finishes.
When running the bat file using Jenkins, the job hangs at the same point the error suppose to be printed.

How can I tell Jenkins to ignore the error and just keep going?

This is the error from the cmd manuall run, and as you can see it keeps running after the error:

    Waiting for comreader to complete
    Error executing test harness to detect type and range data
    >>>
    >>> This might indicate a problem starting the harness execution or
    >>> capturing output data from your simulator or hardware target.
    >>> If the current configuration can be used successfully with other
    >>> environments, then there might be an execution problem related
    >>> to the code in this environment.
    Determining Basis Paths (LinearAlgebra)
    Determining Basis Paths (MathUtils)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source