def jb_escape_output(output):
    """
    Escapes text in manner that is supported on Java side with CommandLineConsoleApi.kt#jbFilter
    Check jbFilter doc for more info

    :param output: raw text
    :return: escaped text
    """
    return "##[jetbrains{0}".format(output)