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.

Continuous Integration with Toad DevOps Toolkit

step([$class: 'CodeAnalysisBuilder']): Perform code analysis with Toad DevOps Toolkit

  • connection

    An Oracle connection string used for connecting to the database.

    user/password@host:port/service
    • Type: String
  • objects
      Array/List
      Nested Object
    • name

      A database object name can contain special pattern-matching characters:

      • An underscore (_) or question mark (?) in the pattern matches exactly one character.

      • A percent sign (%) or asterisk (*) in the pattern matches zero or more characters.

      • An exclamation mark (!) in the pattern excludes zero or more characters.

      • Type: String
    • owner

      A database object owner can contain special pattern-matching characters:

      • An underscore (_) or question mark (?) in the pattern matches exactly one character.

      • A percent sign (%) or asterisk (*) in the pattern matches zero or more characters.

      • An exclamation mark (!) in the pattern excludes zero or more characters.

      • Type: String
    • type
      • Type: String
  • objectFolders
      Array/List
      Nested Object
    • path

      The path of the directory to use to analyse files. Please note that this is relative to the machine running the job.

      • Type: String
    • filter
      Filter directory files by name or extension.
      • Type: String
    • recurse
      • Type: boolean
  • report
      Nested Object
    • name

      The base name of the reports, without an extension. If empty no reports will be generated.

      • Type: String
    • html
      • Type: boolean
    • json
      • Type: boolean
    • xls
      • Type: boolean
    • xml
      • Type: boolean
  • ruleSet
    • Type: int
  • failConditions
      Nested Object
    • halstead

      Halstead level which will cause the code analysis to fail, exclude to ignore.

      • Type: int
    • maintainability

      Maintainability index level which will cause the code analysis to fail, exclude to ignore.

      • Type: int
    • mcCabe

      McCabes level which will cause the code analysis to fail, exclude to ignore.

      • Type: int
    • TCR

      Toad Code Rating level which will cause the code analysis to fail, exclude to ignore.

      • Type: int
    • ruleViolations

      If enabled, code analysis will fail on any violation for the selected rule set.

      • Type: boolean
    • syntaxErrors

      If enabled, code analysis will fail on any syntax error.

      • Type: boolean
    • ignoreWrappedPackages

      If enabled, code analysis will fail when a wrapped package is found.

      • Type: boolean

step([$class: 'ScriptBuilder']): Execute script with Toad DevOps Toolkit

  • connection

    An Oracle connection string used for connecting to the database.

    user/password@host:port/service
    • Type: String
  • script
    • Type: String
  • file

    The full file path including name and extension of the SQL file to execute. Please note that this is relative to the machine running the job.

    • Type: String
  • sourceType
    • Type: String
  • outputName
    • Type: String
  • limitMaxRows
    • Type: String
  • maxRows

    The maximum number of returned rows if any rows are to be returned.

    • Type: int

step([$class: 'UnitTestBuilder']): Run unit tests with Toad DevOps Toolkit

  • connection

    An Oracle connection string used for connecting to the database.

    user/password@host:port/service
    • Type: String
  • objects
      Array/List
      Nested Object
    • name

      A database object name can contain special pattern-matching characters:

      • An underscore (_) or question mark (?) in the pattern matches exactly one character.

      • A percent sign (%) or asterisk (*) in the pattern matches zero or more characters.

      • An exclamation mark (!) in the pattern excludes zero or more characters.

      • Type: String
    • owner

      A database object owner can contain special pattern-matching characters:

      • An underscore (_) or question mark (?) in the pattern matches exactly one character.

      • A percent sign (%) or asterisk (*) in the pattern matches zero or more characters.

      • An exclamation mark (!) in the pattern excludes zero or more characters.

      • Type: String
  • txt
    • Type: boolean
  • xml
    • 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.