- 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 is a tool that is used for automation, and it is an open-source server that allows all the developers to build, test and deploy software. It works or runs on java as it is written in java. By using Jenkins we can make a continuous integration of projects(jobs) or end-to-endpoint automation.
- Jenkins achieves Continuous Integration with the help of plugins. Plugins allow the integration of Various DevOps stages. If you want to integrate a particular tool, you need to install the plugins for that tool. For example Git, Maven 2 project, Amazon EC2, HTML publisher etc.
1. What you understood in Jenkin, write a small article in your own words.
Jenkins is an open-source automation server that provides tools for Continuous Integration (CI) and Continuous Deployment (CD) of software projects. It helps developers automate and streamline the build, test, and deployment process, allowing for faster and more reliable releases. Jenkins is written in Java and is highly configurable and extensible through plugins, making it a popular choice for organizations of all sizes.
2. Create a freestyle pipeline to print "Hello World!!”
To create a freestyle pipeline in Jenkins to print "Hello World!!", follow these steps:
- Install jenkins on AWS EC2 instance.
- For jenkins used port 8080, browse instance-public-IP/8080 it will open jenkins dashboard.
- Click on "New Item" and give your pipeline a name
- Select "Freestyle project" and click "OK"
- On the configuration page, scroll down to the "Build" section and add a "Execute shell" build step.
- In the Command text area, add the following script:
- Save the changes.
- Click on "Build Now" to run the pipeline.
- You should see the output "Hello World!!" in the console output of the build.
Helping Students and Professionals build their Careers | Experience in DevOps | Python | AWS | PySpark | SQL | NoSQL | 1000+ Learners placed
2 年great work Nihal Apretwar keep it up