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.

Rich Text Publisher Plugin

rtp: Publish rich text message

  • abortedAsStable : boolean (optional)
    When selected, the same text block is used for stable and aborted builds.
  • abortedText : String (optional)

    Specify rich text to be published on build and job summary pages for aborted builds. This text will be used only if "The same text for aborted builds as for stable" checkbox is not selected. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

  • failedAsStable : boolean (optional)
    When selected, the same text block is used for stable and failed builds.
  • failedText : String (optional)

    Specify rich text to be published on build and job summary pages for failed builds. This text will be used only if "The same text for failed builds as for stable" checkbox is not selected. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

  • nullAction : String (optional)

    Select what happens in the case that the buildstate is null or unknown

  • parserName : String (optional)
  • stableText : String (optional)

    Specify rich text to be published on build and job summary pages for stable and (if corresponding checkboxes are selected) for unstable and failed builds. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

  • unstableAsStable : boolean (optional)
    When selected, the same text block is used for stable and unstable builds.
  • unstableText : String (optional)

    Specify rich text to be published on build anyd job summary pages for unstable builds. This text will be used only if "The same text for unstable builds as for stable" checkbox is not selected. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

step([$class: 'RichTextPublisher']): Publish rich text message

  • stableText : String

    Specify rich text to be published on build and job summary pages for stable and (if corresponding checkboxes are selected) for unstable and failed builds. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

  • unstableText : String

    Specify rich text to be published on build anyd job summary pages for unstable builds. This text will be used only if "The same text for unstable builds as for stable" checkbox is not selected. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

  • failedText : String

    Specify rich text to be published on build and job summary pages for failed builds. This text will be used only if "The same text for failed builds as for stable" checkbox is not selected. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

  • abortedText : String

    Specify rich text to be published on build and job summary pages for aborted builds. This text will be used only if "The same text for aborted builds as for stable" checkbox is not selected. Build parameters may be put in ${PARAM_NAME} format. Global environment variable values may be put in ${ENV:VAR_NAME} format.

    Content of specified files may be also added to summary page. Use ${FILE:path/to/file.txt} to put entire file contents. Use ${FILE_SL:path/to/file.txt} to put file contents as single line (all CR and LF symbols are skipped).

  • unstableAsStable : boolean
    When selected, the same text block is used for stable and unstable builds.
  • failedAsStable : boolean
    When selected, the same text block is used for stable and failed builds.
  • abortedAsStable : boolean
    When selected, the same text block is used for stable and aborted builds.
  • parserName : String
  • nullAction : String

    Select what happens in the case that the buildstate is null or unknown


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.