Getting Started with Jenkins:

Getting Started with Jenkins:

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 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.

Tasks:

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"

No alt text provided for this image

  • On the configuration page, scroll down to the "Build" section and add a "Execute shell" build step.

No alt text provided for this image

  • In the Command text area, add the following script:

No alt text provided for this image

  • Save the changes.
  • Click on "Build Now" to run the pipeline.

No alt text provided for this image

  • You should see the output "Hello World!!" in the console output of the build.

No alt text provided for this image

Thank you for reading! I hope you find this article helpful.

Happy Learning :)

Shubham Londhe

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

要查看或添加评论,请登录

Nihal Apretwar的更多文章

  • SQS (Simple Queue Service):

    SQS (Simple Queue Service):

    What is SQS: Amazon Simple Queue Service (SQS) is a managed message queuing service technical professionals and…

  • Amazon S3: (Simple Storage service):

    Amazon S3: (Simple Storage service):

    What is S3: It provides object storage which is build for storing and recovering any amount of data from anywhere over…

  • Elastic Compute Cloud (EC2)

    Elastic Compute Cloud (EC2)

    What is EC2 : Amazon EC2 Provides secure and resizable compute capacity in the AWS cloud. You can use Amazon EC2 to…

  • IAM (Identity and Access Management)

    IAM (Identity and Access Management)

    IAM : AWS identity access management is a web service that help you securely control access to AWS resources. You use…

  • AWS (Amazon Web Services)

    AWS (Amazon Web Services)

    What is AWS ? AWS stands for Amazon web services. AWS is a secure cloud service platform that provides on-demand…

    1 条评论
  • Jenkins Declarative Pipeline:

    Jenkins Declarative Pipeline:

    One of the most important parts of your DevOps and CICD journey is a Declarative Pipeline Syntax of Jenkins. Some…

  • Complete Jenkins CI/CD Project - Continued with Documentation

    Complete Jenkins CI/CD Project - Continued with Documentation

    I can imagine catching up will be tough so take a small breather today and complete the Jenkins CI/CD project from Day…

    6 条评论
  • Complete Jenkins CI/CD Project:

    Complete Jenkins CI/CD Project:

    Let's make a beautiful CI/CD Pipeline for your Node JS Application ?? Task-01: Fork this repository: Create a…

    1 条评论
  • Jenkins Freestyle Project for DevOps Engineers:

    Jenkins Freestyle Project for DevOps Engineers:

    What is CI/CD? CI or Continuous Integration is the practice of automating the integration of code changes from multiple…

  • Docker Important interview Questions:

    Docker Important interview Questions:

    Questions: 1. What is the Difference between an Image, Container and Engine? An Image is a pre-configured file system…

社区洞察

其他会员也浏览了