Day 22 of #90DaysOfDevOps

Day 22 of #90DaysOfDevOps

What is CI/CD?

CI/CD, which stands for continuous integration and continuous delivery/deployment, aims to streamline and accelerate the software development lifecycle.

Continuous Integration

The "CI" in CI/CD always refers to continuous integration, an automation process for developers that facilitates more frequent merging of code changes back to a shared branch, or "trunk" in a repository. As these updates are made, automated testing steps are triggered to ensure the reliability of merged code changes.

The "CD" in CI/CD refers to continuous delivery and/or continuous deployment, which are related concepts that sometimes get used interchangeably.

Continuous Delivery

Continuous delivery is a software development practice where code changes are automatically prepared for a release to production. Continuous delivery expands upon continuous integration by deploying all code changes to a testing environment and/or a production environment after the build stage. When properly implemented, developers will always have a deployment-ready build artifact that has passed through a standardized test process.

Continuous delivery usually means a developer’s changes to an application are automatically bug tested and uploaded to a repository (like GitHub or a container registry), where they can then be deployed to a live production environment by the operations team.

Continuous Deployment

Continuous deployment is a strategy or methodology for software releases where any new code update or change made through the rigorous automated test process is deployed directly into the live production environment, where it will be visible to customers.

What is Jenkins?

Jenkins is an open source continuous integration/continuous delivery and deployment (CI/CD) automation software DevOps tool written in the Java programming language. It is used to implement CI/CD workflows, called pipelines.

Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software.

What Is Jenkins Freestyle Project?

Jenkins freestyle project is an configuration and options based project which will allows you to build, test, and deploy the application with automation by selecting the required configuration based on the requirement following are the some of the available in the freestyle project.

  1. Building and testing code

  2. Packaging applications

  3. Deploying applications to production servers

  4. Running reports

Demo: Freestyle project

  1. Click on New Item to create a new project.

  2. Enter Item/Job name and choose freestyle project and click on OK.

  3. Add description about your project.

  4. Click on Build steps and select Execute shell and then click on apply and save.

  5. Now, Click on build now to build your project.

  6. Click build number 1 and then check the console output.

Boom 😊, your first freestyle project on Jenkins is successfully ran. We will check more projects in upcoming blogs.

Thank you! Stay tuned for my upcoming blogs📝.