- Blog Categories
- Project Management
- Agile Management
- IT Service Management
- Cloud Computing
- Business Management
- Business Intelligence
- Quality Engineer
- Cyber Security
- Career
- Big Data
- Programming
- Most Popular Blogs
- PMP Exam Schedule for 2024: Check PMP Exam Date
- Top 60+ PMP Exam Questions and Answers for 2024
- PMP Cheat Sheet and PMP Formulas To Use in 2024
- What is PMP Process? A Complete List of 49 Processes of PMP
- Top 15+ Project Management Case Studies with Examples 2024
- Top Picks by Authors
- Top 170 Project Management Research Topics
- What is Effective Communication: Definition
- How to Create a Project Plan in Excel in 2024?
- PMP Certification Exam Eligibility in 2024 [A Complete Checklist]
- PMP Certification Fees - All Aspects of PMP Certification Fee
- Most Popular Blogs
- CSM vs PSM: Which Certification to Choose in 2024?
- How Much Does Scrum Master Certification Cost in 2024?
- CSPO vs PSPO Certification: What to Choose in 2024?
- 8 Best Scrum Master Certifications to Pursue in 2024
- Safe Agilist Exam: A Complete Study Guide 2024
- Top Picks by Authors
- SAFe vs Agile: Difference Between Scaled Agile and Agile
- Top 21 Scrum Best Practices for Efficient Agile Workflow
- 30 User Story Examples and Templates to Use in 2024
- State of Agile: Things You Need to Know
- Top 24 Career Benefits of a Certifed Scrum Master
- Most Popular Blogs
- ITIL Certification Cost in 2024 [Exam Fee & Other Expenses]
- Top 17 Required Skills for System Administrator in 2024
- How Effective Is Itil Certification for a Job Switch?
- IT Service Management (ITSM) Role and Responsibilities
- Top 25 Service Based Companies in India in 2024
- Top Picks by Authors
- What is Escalation Matrix & How Does It Work? [Types, Process]
- ITIL Service Operation: Phases, Functions, Best Practices
- 10 Best Facility Management Software in 2024
- What is Service Request Management in ITIL? Example, Steps, Tips
- An Introduction To ITIL® Exam
- Most Popular Blogs
- A Complete AWS Cheat Sheet: Important Topics Covered
- Top AWS Solution Architect Projects in 2024
- 15 Best Azure Certifications 2024: Which one to Choose?
- Top 22 Cloud Computing Project Ideas in 2024 [Source Code]
- How to Become an Azure Data Engineer? 2024 Roadmap
- Top Picks by Authors
- Top 40 IoT Project Ideas and Topics in 2024 [Source Code]
- The Future of AWS: Top Trends & Predictions in 2024
- AWS Solutions Architect vs AWS Developer [Key Differences]
- Top 20 Azure Data Engineering Projects in 2024 [Source Code]
- 25 Best Cloud Computing Tools in 2024
- Most Popular Blogs
- Company Analysis Report: Examples, Templates, Components
- 400 Trending Business Management Research Topics
- Business Analysis Body of Knowledge (BABOK): Guide
- ECBA Certification: Is it Worth it?
- How to Become Business Analyst in 2024? Step-by-Step
- Top Picks by Authors
- Top 20 Business Analytics Project in 2024 [With Source Code]
- ECBA Certification Cost Across Countries
- Top 9 Free Business Requirements Document (BRD) Templates
- Business Analyst Job Description in 2024 [Key Responsibility]
- Business Analysis Framework: Elements, Process, Techniques
- Most Popular Blogs
- Best Career options after BA [2024]
- Top Career Options after BCom to Know in 2024
- Top 10 Power Bi Books of 2024 [Beginners to Experienced]
- Power BI Skills in Demand: How to Stand Out in the Job Market
- Top 15 Power BI Project Ideas
- Top Picks by Authors
- 10 Limitations of Power BI: You Must Know in 2024
- Top 45 Career Options After BBA in 2024 [With Salary]
- Top Power BI Dashboard Templates of 2024
- What is Power BI Used For - Practical Applications Of Power BI
- SSRS Vs Power BI - What are the Key Differences?
- Most Popular Blogs
- Data Collection Plan For Six Sigma: How to Create One?
- Quality Engineer Resume for 2024 [Examples + Tips]
- 20 Best Quality Management Certifications That Pay Well in 2024
- Six Sigma in Operations Management [A Brief Introduction]
- Top Picks by Authors
- Six Sigma Green Belt vs PMP: What's the Difference
- Quality Management: Definition, Importance, Components
- Adding Green Belt Certifications to Your Resume
- Six Sigma Green Belt in Healthcare: Concepts, Benefits and Examples
- Most Popular Blogs
- Latest CISSP Exam Dumps of 2024 [Free CISSP Dumps]
- CISSP vs Security+ Certifications: Which is Best in 2024?
- Best CISSP Study Guides for 2024 + CISSP Study Plan
- How to Become an Ethical Hacker in 2024?
- Top Picks by Authors
- CISSP vs Master's Degree: Which One to Choose in 2024?
- CISSP Endorsement Process: Requirements & Example
- OSCP vs CISSP | Top Cybersecurity Certifications
- How to Pass the CISSP Exam on Your 1st Attempt in 2024?
- Most Popular Blogs
- Best Career options after BA [2024]
- Top Picks by Authors
- Top Career Options & Courses After 12th Commerce in 2024
- Recommended Blogs
- 30 Best Answers for Your 'Reason for Job Change' in 2024
- Recommended Blogs
- Time Management Skills: How it Affects your Career
- Most Popular Blogs
- Top 28 Big Data Companies to Know in 2024
- Top Picks by Authors
- Top Big Data Tools You Need to Know in 2024
- Most Popular Blogs
- Web Development Using PHP And MySQL
- Top Picks by Authors
- Top 30 Software Engineering Projects in 2024 [Source Code]
- More
- Tutorials
- Practise Tests
- Interview Questions
- Free Courses
- Agile & PMP Practice Tests
- Agile Testing
- Agile Scrum Practice Exam
- CAPM Practice Test
- PRINCE2 Foundation Exam
- PMP Practice Exam
- Cloud Related Practice Test
- Azure Infrastructure Solutions
- AWS Solutions Architect
- AWS Developer Associate
- IT Related Pratice Test
- ITIL Practice Test
- Devops Practice Test
- TOGAF® Practice Test
- Other Practice Test
- Oracle Primavera P6 V8
- MS Project Practice Test
- Project Management & Agile
- Project Management Interview Questions
- Release Train Engineer Interview Questions
- Agile Coach Interview Questions
- Scrum Interview Questions
- IT Project Manager Interview Questions
- Cloud & Data
- Azure Databricks Interview Questions
- AWS architect Interview Questions
- Cloud Computing Interview Questions
- AWS Interview Questions
- Kubernetes Interview Questions
- Web Development
- CSS3 Free Course with Certificates
- Basics of Spring Core and MVC
- Javascript Free Course with Certificate
- React Free Course with Certificate
- Node JS Free Certification Course
- Data Science
- Python Machine Learning Course
- Python for Data Science Free Course
- NLP Free Course with Certificate
- Data Analysis Using SQL
How to Download Jenkins - Windows, macOS, Linux, Docker
Updated on Oct 08, 2022 | 14 min read | 9.4k views
Share:
Table of Contents
If you're a developer, you know that Jenkins is an essential tool for your workflow. Jenkins is a continuous integration (CI) server that helps you automate the build, test, and deploy process of your software projects. Jenkins download takes care of all the tedious and time-consuming tasks involved in development so you can focus on writing code.
If you are in the process of automating your software development or you are looking for a way to optimize your current practices, you can download Jenkins on Windows, macOS, Linux, as well as Docker. Here, we will take you through the steps to get Jenkins up and running on your system. We also get you the requirements for installing Jenkins and configuring it for your own projects.
Why Use Jenkins?
Jenkins is an open-source automation server written in Java. It is a powerful tool that provides you with numerous benefits including:
- Automatically build and test your code whenever you commit changes.
- Deploy your code automatically to testing or production servers.
- Orchestrate complex Jenkins deployment pipelines that include multiple stages, such as building a Docker image, pushing it to a registry, and then deploying it to a server.
- There are over 1,000 plugins available that allow you to integrate Jenkins with a wide range of tools, including Amazon AWS, Microsoft Azure, Slack, and more.
- The Jenkins user community is large and their contributors help to make it better with each release.
In a nutshell, Jenkins provides an easy way to set up a continuous integration or continuous delivery (CI/CD) pipeline. Jenkins certification will make you an expert in utilizing Jenkins for software delivery. This brings numerous benefits such as reduced risks and faster software delivery.
Before You Download Jenkins
Downloading Jenkins is as simple as a few clicks. However, before you download Jenkins, it is important to consider some crucial factors in Jenkins documentation;
Understanding Release Types
Jenkins offers two different types of releases: stable (LTS) and regular. It is important to understand the difference between the two before you download Jenkins:
- Stable (LTS) releases are chosen every 12 weeks from the stream of regular releases. They include bug and security fix backports. LTS Jenkins releases are supported for one year after their initial release and receive security updates for an additional year.
- Regular releases are delivered on a weekly cadence and include new features and bug fixes. They are aimed at users and plugin developers who need the latest features and don't mind dealing with potential bugs.
If you're looking for a stable, well-supported version of Jenkins, go with the Jenkins LTS download release. If you need the latest features and don't mind dealing with potential bugs, go with a regular release.
Prerequisites
Before you download Jenkins, it is important to understand the prerequisites. It will ensure that Jenkins runs smoothly on your system:
Hardware Requirements
- Jenkins requires 256 MB of RAM and 1 GB of drive space. However, it is recommended that you have at least 10 GB of drive space and 2 GB of RAM if you are running Jenkins as a Docker container.
- If you are a part of a small team, it is recommended that you have at least 4 GB of RAM and 50 GB of drive space for Jenkins installation.
Software Requirements
- Modern versions of Jenkins require Java 8 or 11.
- Supported web browsers include Google Chrome, Mozilla Firefox, MS Edge, and Safari.
- Jenkins can run on Windows.
- Linux and Mac operating systems can also be used for running Jenkins in Docker.
How to Download Jenkins?
While Jenkins is a powerful tool, it can be challenging to download and set up. You need to first download it, and then unlock it. Fortunately, once you know the steps, the process is relatively straightforward. Let’s take a look;
Steps to Download Jenkins (With HQ Screenshots)
Missing a step in Jenkins download can lead to problems installing it. To avoid any problem, follow all the steps as instructed:
For Windows
- Visit https://www.jenkins.io/download/ and choose Windows.
- Once you download it, go for the downloads folder on your system and unzip the Jenkins package by extracting its files.
- After that, double-click on the jenkins.msi file.
- Now the installation screen will appear, select Next.
- Select the installation location and click Next to go further.
- Enter credentials for Logon type and click on Next.
- After that, Choose Port as 8080 and proceed with the Next option, till you reach the Install option.
- Now, click Install and allow the prompts to begin the installation.
- After a while, finish the Jenkins installation steps, by choosing Finish, and Jenkins will be installed on your Windows OS.
For macOS
- Visit https://www.jenkins.io/download/ and choose Mac OS X.
- Scroll down to reach Native Installer and select Installers for previous Jenkins version.
- Now select the Jenkins version 2.222.1 or the latest to download and open it.
- Once the Installer opens, click on Continue.
- Read the License Agreement and choose Continue and Agree respectively.
- After that, select the destination and hit Continue.
- Choose Install and you’ll be prompted for user name and password.
- Now, enter credentials and hit Install Software.
Finally, upon completion of the installation, choose the ‘Close’ option.
For Linux
Launch the CMD and login as a sudo/root user and update the system by the following command:
Sudo dnf update - y
- After that, you must paste the following command:
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
3. Now, install Jenkins by using the next command:
yum install fontconfig java-11-openjdk
yum install jenkins
4. Once installed, you will need to start Jenkins by using the following command:
Sudo system ctl start jenkins
For Docker
- Launch the CMD process and use the below command and hit Enter:
docker run -p 8080:8080 -p 50000:50000 --restart=on-failure jenkins/jenkins:lts-jdk11
- Once Jenkins gets downloaded on your docker, you are required to set it up. You can find the password
at /var/jenkins_home/secrets/initialadminpassword or you can copy the code that appears on your system.
3. Now, you can use the Local host to unlock Jenkins by providing the password that you received recently.
How to Unlock Jenkins?
After you install Jenkins on your system, it is necessary to start its configuration for its proper use. To do this, follow the below instructions:
As soon as you finish installing Jenkins on your system, you must open your web browser and search http://localhost:8080 or http://localhost:8090 based on your port selection.
Once you visit the local host, you’ll be asked for credentials. If you’re a Windows user, you’ll get the administrator password under the installation path of Jenkins. The default one is C:\Program Files (x86)\Jenkins. However, it also varies on what directory you chose during its installation.
Once you reach there, look for the InitialAdminPassword file and open it to copy the code. Now paste the code into the pop-up tab prompting for password and choose Continue to unlock Jenkins successfully.
Mac users will get the location of the password on their screen. It is generally, /Users/Shared/Jenkins/Home/Secrets/Initialadminpassword. However, it can also vary if you chose a different installation folder.
Linux users can enter sudo cat /var/lib/Jenkins/secrets/initialadminpassword and they will get the password.
Docker users will get the password on their CMD screen after they finish the installation of Jenkins. Also, they can reach /var/jenkins_home/secrets/initialadminpassword to copy the password.
Customize Jenkins
Customizing Jenkins allows you to optimize your build pipeline for specific environment. It leads to faster builds and when combined with DevOps certification, the opportunities for your growth are doubled. Here’s how you can customize Jenkins:
- In order to install the essential plugins for Jenkins, simply click on the "Install suggested plugins button". Jenkins will automatically begin to download and install all of the necessary plugins.
- You also have the option to "Select Plugins to Install" and hand-pick which plugins you would like to install.
- After all of the desired plugins have been installed, fill out the fields in the "Create First Admin User" panel with your account details and hit "Save and Finish".
- Lastly, it will ask for URL information. Here, you can configure the default instance path for Jenkins.
Unless you have a good reason to change it, leave it as it is so as to avoid any confusion later on. If another application is already using port 8080, you can simply choose another port and you are all set! Now, you are ready to create some Jenkins Jobs.
Jenkins Download Links for All Environments (OS etc.)
Download Jenkins 2.346.2 LTS for | Download Jenkins 2.359 for |
---|---|
Generic Java package (.war) | Generic Java package (.war) |
Docker | Docker |
Ubuntu/Debian | Ubuntu/Debian |
CentOS/Fedora/Red Hat | CentOS/Fedora/Red Hat |
Windows | Windows |
openSUSE | openSUSE |
FreeBSD | Arch Linux |
Gentoo | FreeBSD |
macOS | Gentoo |
OpenBSD | macOS |
OpenBSD | |
OpenIndiana Hipster |
How to Verify Jenkins Downloads?
WAR File Verification
When you download a file from the Jenkins server, it is important to verify the authenticity of the file before opening it. One way to do this is to use jarsigner, a tool that is included with the Java Development Kit (JDK).
To use jarsigner, you first need to locate the file that you downloaded from Jenkins. If the file is compressed, you will need to uncompress it first. Once you have located the file, open a command prompt and navigate to the directory where the file is located.
At the command prompt, type "jarsigner -verify -verbose [filename]" and press Enter. This will display information about the file, including whether or not it has been signed by a trusted source.
If you see "jar verified" followed by a certificate chain, then you can be confident that the file is safe to open. If you do not see this message, or if you see an error message instead, then the download package may have been tampered with and should not be opened.
Windows MSI Installers
When you perform the Jenkins download from its official website, the installer file is signed with a digital signature. This signature helps verify the file's integrity and authenticity. You can use the signtool utility to verify the digital signature of the file.
The signtool utility is included in the Windows SDK. To use signtool, you must first install the Windows SDK on your computer. Then, open a command prompt and navigate to the folder where the Jenkins installer file is located.
Run the following command: signtool verify /v jenkins.msi. This will display information about the digital signature, including the signer's identity and the date and time when the file was signed.
If the signature is valid, you will see a message indicating that "Signature verification succeeded." Otherwise, you will see an error message indicating that the signature is invalid. Either way, you can be confident that the file you downloaded has not been tampered with and is safe to install.
Linux Package Repositories
For Linux users, the most common way to do this is by using a Package Manager like apt or yum. These tools will check the digital signatures of the files you're downloading against a known good key, ensuring that the files have not been tampered with.
You can also verify Jenkins downloads by checking the GPG signature. The Jenkins project provides a signing key that you can use to verify the authenticity of your download. Simply run the 'gpg' command against the downloaded file, and you’ll have a detailed report showing whether or not the file has been altered.
How to Deploy Jenkins in Public Cloud?
One of the great things about Jenkins is that you can install Jenkins on AWS, Azure, and Google Cloud Platforms like public clouds. There are two main ways to deploy Jenkins in a public cloud: using a managed service or using a self-managed virtual machine.
If you choose to use a managed service, then the cloud provider will take care of provisioning and managing the underlying infrastructure for you. This can be a great option if you don't want to deal with the complexities of setting up and maintaining your own Jenkins server. However, it can also be more expensive than running your own server.
If you choose Jenkins deployment on your own server, then you will need to provision and configure a virtual machine in the public cloud. This option gives you more control over the server, but it also requires more work to set up and maintain. Once you have provisioned your virtual machine, you can follow the official instructions for installing Jenkins.
Once Jenkins is up and running, you will need to configure it in order to allow access from the outside world. This can be done by setting up a reverse proxy or by using a tool such as ngrok. Once your instance is properly configured, you should be able to access Jenkins cloud from anywhere in the world.
Conclusion
Jenkins is a continuous integration server that enables developers to find and solve problems faster. It is an open-source project that has been around for over 10 years and has more than 1,000 contributors. There are thousands of plugins available, making Jenkins extremely versatile and its community is one of the key reasons why it has been so successful.
While it was originally designed for Java projects, Jenkins now supports builds written in over 150 programming languages. We hope this article helped you download and install Jenkins easily.
KnowledgeHut Jenkins certification can provide you with all the knowledge necessary to utilize Jenkins effectively. With this knowledge under your belt, you will be able to streamline your development process and enhance your career opportunities.
Frequently Asked Questions (FAQs)
1. Is Jenkins completely free?
2. How do I download Jenkins?
3. On which OS can Jenkins be installed?
4. How do I start Jenkins on Windows 10?
Get Free Consultation
By submitting, I accept the T&C and
Privacy Policy