Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A Jenkinsfile can be written using two types of syntax - Declarative and Scripted. MettleCI provides an example Jenkinsfile (top-level pipeline) as a Declarative Pipeline definition, written using Pipeline domain-specific language (DSL) syntax and enabled by the Declarative Pipeline plugin. MettleCI also provides an example suite of reusable reusable components written as Jenkins Groovy functions methods and supplied in separate Shared Library files repository.

MettleCI Shipped Asset

Language

Description

Jenkinsfile

Jenkins Pipeline DSL syntax

Principal pipeline definition

mci_ccmt.groovy

Jenkins Scripted Pipeline syntax (Groovy)

CCMT Upgrade process

mci_compliance.groovy

Jenkins Scripted Pipeline syntax (Groovy)

Compliance process

mci_deploy.groovy

Jenkins Scripted Pipeline syntax (Groovy)

Deploy process

mci_unittest.groovy

Jenkins Scripted Pipeline syntax (Groovy)

Unit Test processa

...