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.
Building and testing code
Packaging applications
Deploying applications to production servers
Running reports
Demo: Freestyle project
Click on New Item to create a new project.
Enter Item/Job name and choose freestyle project and click on OK.
Add description about your project.
Click on Build steps and select Execute shell and then click on apply and save.
Now, Click on build now to build your project.
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📝.