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 : String
  • branchReplacement : String (optional)

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

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

ontrackBuild: Creates an Ontrack build

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

ontrackGraphQL: Runs some Ontrack GraphQL script

  • script : 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 : String
  • script : String
  • bindings (optional)
    • Type: java.util.Map<java.lang.String, java.lang.Object>
  • logging : boolean (optional)

ontrackPromote: Promotes an Ontrack build

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

ontrackScript: Runs some Ontrack DSL script

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

ontrackValidate: Validates an Ontrack build

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

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.