Jenkinsfile

A Jenkinsfile is used in a source control repository (Git, Github, etc.) when it is intended to be used with the Jenkins build automation system. It tells Jenkins what needs to be done to build, test, and deploy the system represented by the repository. Docker is used to run the build process in a virtual environment.

The format is based on the Groovy language.

The file is intended to be named  with no extension. Sometimes Windows-based text and code editors give you a hassle when you try to create files without an extension (it seems to come more naturally on Unix-style systems).

Links

 * Using a Jenkinsfile