Skip to main content

Command Palette

Search for a command to run...

Jenkins Tutorials

Updated
โ€ข4 min readโ€ขView as Markdown
Jenkins Tutorials
P

๐Ÿ‘จโ€๐Ÿ’ป DevOps Engineer | ๐ŸŒ Cloud Enthusiast | ๐Ÿš€ Automation Advocate

๐Ÿ”ง Transforming Code into Continuous Innovation ๐Ÿ› ๏ธ

what is jenkins ?

Jenkins is an open-source automation server that is commonly used for building, testing, and deploying code in a continuous integration and continuous delivery (CI/CD) pipeline.

Jenkins work flow:

Task Description๐Ÿ“„ Research for industry use cases of Jenkins and create a  blog, Article or

Why Jenkins?

Jenkins ๐Ÿš€ is like a trusty butler ๐ŸŽฉ for your software development team ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป. It's your go-to automation hero โšก๏ธ, helping you with all things related to building, testing, and deploying your software ๐Ÿ—๏ธ๐Ÿงช๐Ÿš€.

Here's a breakdown of Jenkins with emojis:

  1. Continuous Integration ๐Ÿ”„: Jenkins ensures your code gets integrated and tested automatically whenever changes are made. No more integration headaches! ๐Ÿคฏ

  2. Scheduled Jobs ๐Ÿ“…: It can run tasks and jobs on a schedule, like nightly builds or regular backups โฐ.

  3. Plugins Galore ๐Ÿงฉ: Jenkins has a vast library of plugins to extend its functionality. It's like a Swiss Army knife ๐Ÿ‡จ๐Ÿ‡ญ for your DevOps needs.

  4. Friendly Notifications ๐Ÿ“ฃ: Jenkins can notify you via email, chat, or any other preferred method when builds fail or succeed. It's your friendly messenger ๐Ÿ’Œ.

  5. Distributed Builds ๐ŸŒ: It can distribute tasks across multiple machines, making builds faster and efficient. It's like having a clone army ๐Ÿ‘ฅ๐Ÿ‘ฅ at your disposal.

  6. Version Control Integration ๐Ÿ“š: Seamless integration with Git, SVN, and others. Jenkins speaks version control fluently! ๐Ÿ“œ

  7. Customizable Dashboards ๐Ÿ–ผ๏ธ: Create personalized dashboards to monitor your project's health. It's like having your own control center ๐Ÿš€.

  8. Pipeline Support ๐Ÿšฆ: Jenkins supports defining your entire software delivery process as code using Jenkinsfile. Think of it as your DevOps script! ๐Ÿ“

  9. Community Love โค๏ธ: It's an open-source project with a vibrant community, always ready to help. It's like a big, friendly family ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ.

So, Jenkins is your trusty DevOps sidekick, automating tasks, ensuring code quality, and keeping your software development pipeline running smoothly ๐Ÿค–๐Ÿ’ผ.

Advanatges of jenkins :

  1. ๐Ÿค– Open Source: No cost, no worries!

  2. ๐Ÿงฉ Plugin Heaven: Customize like a pro!

  3. ๐Ÿ”„ Automation Magic: Bye-bye manual work!

  4. ๐Ÿš€ Cross-Platform: It's everywhere!

  5. ๐Ÿงช Continuous Testing: Find bugs early!

  6. ๐Ÿ› ๏ธ Easy Integrations: Connect all the things!

  7. ๐Ÿ“ˆ Scalability: Grow as you go!

  8. ๐ŸŽจ Customizable: Make it your own!

  9. ๐Ÿšจ Notifications: Never miss a beat!

  10. ๐Ÿ” Security: Keep your secrets safe!

  11. ๐Ÿ‘ซ Community Love: Friends everywhere!

  12. ๐Ÿ’ช Reliability: Trusty sidekick, always!

Jenkins: Your DevOps bestie! ๐Ÿ˜„๐Ÿ‘

Install Jenkins on Linux (Ubuntu)

1 Take access of your server

Type sudo -i to become a root user

sudo -i

Now update your server or machine :-

apt update -y

Install the java

sudo apt install openjdk-11-jre

Enter the Y to install the java

Check the java is installed or not using

java -version

or

java --version

Now Install the Jenkins Using the jenkins official page (https://www.jenkins.io/doc/book/installing/linux/#debianubuntu) or fallowing commands as well.

curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee /usr/share/keyrings/jenkins-keyring.asc > /dev/null echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]https://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list > /dev/null sudo apt-get update sudo apt-get install jenkins

press enter to install the jenkins

and also enter y

check the jenkins is installed or not using

which jenkins

Now start the Jenkins:

systemctl start jenkins

Also enable the jenkins

systemctl enable jenkins

Check the status of jenkins

systemctl status jenkins

now use the public ip : 8080 port

Now Using terminal see the jenkins password

cat /var/lib/jenkins/secrets/initialadminpassword

Now copy shown password and paste in jenkins webpage:

Now click on the continue button.

As per your wish go with anyone
i'll suggest go with Install suggested plugins

wait till all plugins get load.

Provide the username and password

And click on save and continue

Now just click on save and finish

It will show like below

Now you can access the our jenkins dashboard

Thank You !

More from this blog

What Is S3 Bucket? Key feature ? Real-time-example? Benefits? Use Cases ? Steps to create an S3 Bucket?

๐Ÿš€ ๐–๐ก๐š๐ญ ๐ข๐ฌ ๐ข๐ญ? Amazon S3 is a scalable object storage service designed to store and retrieve any amount of data from anywhere on the web. ๐ŸŒŸ ๐Š๐ž๐ฒ ๐…๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ: ๐Ÿ‘‰ ๐•๐ž๐ซ๐ฌ๐ข๐จ๐ง๐ข๐ง๐ : Keep multiple versions of your objects for backup a...

Mar 27, 20243 min read
What Is S3 Bucket? Key feature ? Real-time-example? 
Benefits? Use Cases ?
Steps to create an S3 Bucket?

What Is Ec2 ? Key feature ? Real-time-example? Benefit? and Steps to create an EC2?

Day 01 of #25Days25AWSServices So we start from the Amazon EC2 (Amazon Elastic Compute Cloud)Amazon Elastic Compute Cloud (EC2) Overview: ๐Ÿš€ ๐–๐ก๐š๐ญ ๐ข๐ฌ ๐ข๐ญ? EC2 is a web service provided by Amazon Web Services (AWS) that offers ๐ซ๐ž๐ฌ๐ข๐ณ๐š๐›๐ฅ๐ž...

Mar 26, 20243 min read
What Is Ec2 ? Key feature ? Real-time-example? Benefit? and Steps to create an EC2?

param

13 posts