Polyman Documentation - v3.1.0
    Preparing search index...

    Function uploadActions

    • Turns the failures one upload step added into --json report actions.

      Each failure line has the form <label>: <message>. A failure belongs to exactly one item: the longest item name for which the line starts with <component> <name>: ; for testsets, <component> <name> followed by a sub-label (script, group g1); else <name>: ; else <component>: (given to the first item). Every item gets one upload entry, failed when a failure belongs to it. Failures that belong to no item (e.g. checker test #2) get their own entry, named by their label.

      Parameters

      • component: string

        Component name used in the labels (solution, ...)

      • names: string[]

        The items the step tried to upload

      • newFailures: string[]

        Failure lines added during the step

      Returns RemoteAction[]

      The actions to record, in the order of names