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.

Text Finder

findText: Text Finder

  • regexp
    Specify a regular expression using the syntax supported by the Java Pattern class.
    • Type: String
  • alsoCheckConsoleOutput (optional)
    • Type: boolean
  • fileSet (optional)
    Specify the path to the files in which to search, relative to the workspace root. This can use wildcards like logs/**/*/*.txt. See the @includes of Ant fileset for the exact format. Leave this empty if you do not want to scan any files (usually combined with checked Also search the console output).
    • Type: String
  • notBuiltIfFound (optional)
    Use this option to set build as Not Built.
    • Type: boolean
  • succeedIfFound (optional)
    Use this option to force a build to succeed or fail depending on whether a string was found.
    • Type: boolean
  • unstableIfFound (optional)
    Use this option to set build unstable instead of failing the build.
    • 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.