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.

ontrack Jenkins plug-in

ontrackBranchName: Transforms a branch name, as provided by the pipeline for example, into a name suitable for a branch in Ontrack.

  • branch
    • Type: String
  • branchReplacement (optional)
    • Type: String

ontrackBranchSetup: Setup an Ontrack branch, and creates it if it does not exist.

  • project
    • Type: String
  • branch
    • Type: String
  • script
    • Type: String
  • bindings (optional)
    • Type: java.util.Map<java.lang.String, java.lang.Object>
  • logging (optional)
    • Type: boolean

ontrackBuild: Creates an Ontrack build

  • project
    • Type: String
  • branch
    • Type: String
  • build
    • Type: String
  • gitCommit (optional)
    • Type: String

ontrackGraphQL: Runs some Ontrack GraphQL script

  • script
    • Type: String
  • bindings (optional)
    • Type: java.util.Map<java.lang.String, java.lang.Object>

ontrackProjectSetup: Setup an Ontrack project, and creates it if it does not exist.

  • project
    • Type: String
  • script
    • Type: String
  • bindings (optional)
    • Type: java.util.Map<java.lang.String, java.lang.Object>
  • logging (optional)
    • Type: boolean

ontrackPromote: Promotes an Ontrack build

  • project
    • Type: String
  • branch
    • Type: String
  • build
    • Type: String
  • promotionLevel
    • Type: String

ontrackScript: Runs some Ontrack DSL script

  • script
    • Type: String
  • bindings (optional)
    • Type: java.util.Map<java.lang.String, java.lang.Object>
  • logging (optional)
    • Type: boolean

ontrackValidate: Validates an Ontrack build

  • project
    • Type: String
  • branch
    • Type: String
  • build
    • Type: String
  • validationStamp
    • Type: String
  • buildResult (optional)
    • Type: String
  • data (optional)
    • Type: java.util.Map<java.lang.String, ?>
  • dataType (optional)
    • Type: String
  • dataValidation (optional)
    • Type: boolean
  • description (optional)
    • Type: String
  • testResults (optional)
    • Type: class hudson.tasks.junit.TestResultSummary
  • testResultsAsFraction (optional)
    • Type: boolean
  • validationStatus (optional)
    • Type: String

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.