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.

build log file size checker plugin

wrap([$class: 'LogfilesizecheckerWrapper']): Abort the build if its log file size is too big

  • maxLogSize
    If the log file of a build gets larger than the specified file size (in MB), the build will be terminated automatically.
    • Type: int
  • failBuild
    If checked, the build will be marked as failed rather than marked as aborted. (In any case, the build does not continue when the maximum file size is reached).
    • Type: boolean
  • setOwn
    • 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.