All languages

Docker

You're viewing a free preview. Sign in free to read every script.

Why this exists Jenkins is still the pipeline engine behind a great deal of production delivery, and a Jenkinsfile is code that is usually run for the first time on the shared server: a typo in a section name fails the…

Jenkins Declarative Pipeline for Docker Images: Build, Scan, Push, Approve and Deploy, Validated by Jenkins' Own Linter

A Jenkinsfile that lints, builds and pushes an image with credentials that exist only inside one block, scans it, deploys to staging automatically and to production only after a named group approves, checked with the real declarative linter of a running Jenkins, including the three typos it catches.

Sign in free to read this script, along with the rest of the library.

Sign in free