Jenkins Basics

Jenkins Basics

Jenkins is an open source automation server, with it you can simply set up continuous integration & continuous delivery (CI / CD) environment.

Why Jenkins?

-> Open source, so you don't need to pay for it.

-> You can host Jenkins on a Virtual machine, or on a container or even locally (for development purposes).

-> Because of Jenkins, Bugs, errors can be reported very quickly. It is GUI based and easy to use.

jenkins ci cd.png

Jenkins file

It has instructions in it, things it has to do.

Build agent

Build agent are systems that run the entire workload. Your entire CI / CD pipeline is being run by these build agents.

Why Build agents?

-> You can run Jenkins workloads, right from the Jenkins server but its not recommended because of security purposes & performance concerns.

About Jenkins

about jenkins.png

  1. Jenkins is written in Java, so for running Jenkins in your machine, you need to have Java.

  2. It can run on any Operating System.

  3. It works on Port 8080.

  4. It has a lot of Plugins, with the help of these plugins, it communicates with other tools like github, ansible, maven, docker, etc.

  5. Jenkins is very popular tool for continuous integration, it automates the entire SDLC.

  6. Jenkins was originally developed by Sun Microsystems under the name Hudson. After that, Oracle brought sun microsystems and made 2 versions of it. Jenkins - Open source, Hudson - Enterprise Edition