human
Here should be the outcome of the build given the following:
Complete the below
def conditional_publisher(registry, xml_parent, data):

    ''''yaml: conditional-publisher
    Conditionally execute some post-build steps. Requires the Jenkins
    :jenkins-wiki:`Flexible Publish Plugin <Flexible+Publish+Plugin>`.
    A Flexible Publish list of Conditional Actions is created in Jenkins.
    :arg str condition-kind: Condition kind that must be verified before the
    action is executed. Valid values and their additional attributes are
    described in the conditions_ table.
    :arg str on-evaluation-failure: What should be the outcome of the build
    if the evaluation of the condition fails. Possible values are `fail`,
    `mark-unstable`, `run-and-mark-unstable`, `run` and `dont-run`.
    Default is `fail`.
    :arg list action: Action to run if the condition is verified. Item
    can be any publisher known by Jenkins Job Builder and supported
    by the Flexible Publish Plugin.
    .. _conditions:
    Condition kind     Description
    always             Condition is always verified
    never              Condition is never verified
    boolean-expression Run the action if the expression expands to a
    representation of true
    :condition-expression: Expression to expand
    current-status     Run the action if the current build status is
    within the configured range
    :condition-worst: Accepted values are SUCCESS,
    UNSTABLE, FAILURE, NOT_BUILD, ABORTED
    :condition-best: Accepted values are SUCCESS,
    UNSTABLE, FAILURE, NOT_BUILD, ABORTED
    shell              Run the action if the shell command succeeds
    :condition-command: Shell command to execute
    windows-shell      Similar to shell, except that commands will be
    executed by cmd, under Windows
    :condition-command: Command to execute
    regexp             Run the action if a regular expression matches
    :condition-expression: Regular Expression
    :condition-searchtext: Text to match against
    the regular expression
    file-exists        Run the action if a file exists
    :condition-filename: Check existence of this file
    :condition-basedir: If...'''
assistant
#Here should be the outcome of the build
.
    def publish_condition(cdata):
        kind = cdata['condition-kind']
        ctag = XML.SubElement(cond_publisher, condition_tag)
        class_pkg = 'org.jenkins_ci.plugins.run_condition'
        if (kind == 'always'):
            ctag.set('class', (class_pkg + '.core.AlwaysRun'))
        elif (kind == 'never'):
            ctag.set('class', (class_pkg + '.core.NeverRun'))
        elif (kind == 'boolean-expression'):
            ctag.set('class', (class_pkg + '.core.BooleanCondition'))
            XML.SubElement(ctag, 'token').text = cdata['condition-expression']
        elif (kind == 'current-status'):
            ctag.set('class', (class_pkg + '.core.StatusCondition'))
            wr = XML.SubElement(ctag, 'worstResult')
            wr_name = cdata['condition-worst']
            if (wr_name not in hudson_model.THRESHOLDS):
                raise JenkinsJobsException(('threshold    must    be    one    of    %s' % ',    '.join(hudson_model.THRESHOLDS.keys())))
            wr_threshold = hudson_model.THRESHOLDS[wr_name]
            XML.SubElement(wr, 'name').text = wr_threshold['name']
            XML.SubElement(wr, 'ordinal').text = wr_threshold['ordinal']
            XML.SubElement(wr, 'color').text = wr_threshold['color']
            XML.SubElement(wr, 'completeBuild').text = str(wr_threshold['complete']).lower()
            br = XML.SubElement(ctag, 'bestResult')
            br_name = cdata['condition-best']
            if (br_name not in hudson_model.THRESHOLDS):
                raise JenkinsJobsException(('threshold    must    be    one    of    %s' % ',    '.join(hudson_model.THRESHOLDS.keys())))
            br_threshold = hudson_model.THRESHOLDS[br_name]
            XML.SubElement(br, 'name').text = br_threshold['name']
            XML.SubElement(br, 'ordinal').text = br_threshold['ordinal']
            XML.SubElement(br, 'color').text = br_threshold['color']
            XML.SubElement(br, 'completeBuild').text = str(wr_threshold['complete']).lower()
        elif (kind == 'shell'):
           ...