Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Jenkins Review

Let's wrap up the course with a little review. Here's a typical Jenkinsfile that demonstrates some concepts we've covered.

  • The pipeline declaration contains a description of the entire Jenkins pipeline.
  • agent { docker { image 'openjdk' } } sets up the pipeline to run within a container based on the openjdk Docker image.
    • The openjdk image has OpenJDK pre-installed; it's th...