Versions Compared

Key

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

...

Structure

The Jenkins DevOps pipeline is defined in a “Jenkinsfile” by default named Jenkinsfile and has the following structure (most detail omitted)

Code Block
pipeline {
    agent { ... }
    parameters { ... }
    environment { ... }
    stages {
          stage { ... }
          stage { ... }
          ...
    }
}

To understand these sections in more detail, refer to your Jenkins documentation. We present only the MettleCI specific things you need to know

Sections before “stages”