The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Robot Framework plugin

robot: Configure robot framework report collection

Publishes Robot Framework test reports into Hudson user interface.

Note that you must configure your build to produce these reports before you can publish them with this plugin.

All text fields support the use of environment variables available during build (e.g. ${BUILD_NUMBER}).

  • outputPath
    • Type: String
  • disableArchiveOutput (optional)

    output xml files are not needed by Jenkins once the publishing step of the build is finished.

    They are archived for traceability or reuse in some other context.

    You might want to disable archiving of those output xml files to save disk space on the Jenkins server.

    • Type: boolean
  • enableCache (optional)

    Enable cache for test results (produces memory pressure)

    • Type: boolean
  • logFileName (optional)

    File name relative to output path. Supports Ant GLOB style wildcards (e.g. **/log*.html).

    Splitted files will be copied automatically. If file name is specified log.html then all log-xxx.html will be saved.

    • Type: String
  • onlyCritical (optional)
    • Type: boolean
  • otherFiles (optional)

    Comma separated list of file names relative to output path. Supports Ant GLOB style wildcards (e.g. **/screenshot*.jpg).

    You can save any artifacts related to tests (e.g. Selenium screenshots) in the robot directory by configuring the filenames here. Items that are linked to the robot log files - like screenshots - have to be explicitly saved here in order to view them in the stored logs.

    • Type: String
  • outputFileName (optional)

    File name relative to output path. Supports Ant GLOB style wildcards (e.g. **/output*.xml).

    Splitted files will be copied automatically. If file name is specified output.xml then all output-xxx.xml will be saved.

    • Type: String
  • passThreshold (optional)
    • Type: double
  • reportFileName (optional)

    File name relative to output path. Supports Ant GLOB style wildcards (e.g. **/report*.html).

    Splitted files will be copied automatically. If file name is specified report.html then all report-xxx.html will be saved.

    • Type: String
  • unstableThreshold (optional)
    • Type: double

step([$class: 'RobotPublisher']): Publish Robot Framework test results

Publishes Robot Framework test reports into Hudson user interface.

Note that you must configure your build to produce these reports before you can publish them with this plugin.

All text fields support the use of environment variables available during build (e.g. ${BUILD_NUMBER}).

  • outputPath
    • Type: String
  • outputFileName

    File name relative to output path. Supports Ant GLOB style wildcards (e.g. **/output*.xml).

    Splitted files will be copied automatically. If file name is specified output.xml then all output-xxx.xml will be saved.

    • Type: String
  • disableArchiveOutput

    output xml files are not needed by Jenkins once the publishing step of the build is finished.

    They are archived for traceability or reuse in some other context.

    You might want to disable archiving of those output xml files to save disk space on the Jenkins server.

    • Type: boolean
  • reportFileName

    File name relative to output path. Supports Ant GLOB style wildcards (e.g. **/report*.html).

    Splitted files will be copied automatically. If file name is specified report.html then all report-xxx.html will be saved.

    • Type: String
  • logFileName

    File name relative to output path. Supports Ant GLOB style wildcards (e.g. **/log*.html).

    Splitted files will be copied automatically. If file name is specified log.html then all log-xxx.html will be saved.

    • Type: String
  • passThreshold
    • Type: double
  • unstableThreshold
    • Type: double
  • onlyCritical
    • Type: boolean
  • otherFiles

    Comma separated list of file names relative to output path. Supports Ant GLOB style wildcards (e.g. **/screenshot*.jpg).

    You can save any artifacts related to tests (e.g. Selenium screenshots) in the robot directory by configuring the filenames here. Items that are linked to the robot log files - like screenshots - have to be explicitly saved here in order to view them in the stored logs.

    • Type: String
  • enableCache

    Enable cache for test results (produces memory pressure)

    • Type: boolean

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.