• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Jenkins using Debian Package on Linux Mint 20

  • 00:56 lsb_release -a
  • 02:22 java -jar jenkins.war
{{postValue.id}}

To Install Jenkins on Linux Mint 20

Introduction:

Jenkins is a free and open-source automation server that helps to automate the parts of software development related to building, testing, and deploying, facilitating continuous integration and continuous delivery. It is a server-based system that runs in servlet containers such as Apache Tomcat.

Procedure:

Check the version of the Linux Mint OS

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 20
Release:	20
Codename:	ulyana

Then have to download the Jenkins Software form the Website. snap1 Once the download is completed. Open the terminal from the software download location

root@linuxhelp:~# cd /home/user/Downloads/
root@linuxhelp:/home/user/Downloads# ls -la
total 72648
drwxr-xr-x  2 user user     4096 Apr  2 08:56 .
drwxr-xr-x 16 user user     4096 Apr  2 08:13 ..
-rw-rw-r--  1 user user 74381674 Apr  2 08:55 jenkins.war

Then I will install the Jenkins using the following command

root@linuxhelp:/home/user/Downloads# java -jar jenkins.war
Running from: /home/user/Downloads/jenkins.war
webroot: $user.home/.jenkins
2021-04-03 05:12:27.452+0000 [id=1]	INFO	org.eclipse.jetty.util.log.Log#initialized: Logging initialized @2146ms to org.eclipse.jetty.util.log.JavaUtilLog
2021-04-03 05:12:27.971+0000 [id=1]	INFO	winstone.Logger#logInternal: Beginning extraction from war file
2021-04-03 05:12:33.100+0000 [id=1]	WARNING	o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2021-04-03 05:12:33.707+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: jetty-9.4.39.v20210325; built: 2021-03-25T14:42:11.471Z; git: 9fc7ca5a922f2a37b84ec9dbc26a5168cee7e667; jvm 11.0.10+9-Ubuntu-0ubuntu1.20.04
2021-04-03 05:12:35.817+0000 [id=1]	INFO	o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
.
.
.
2021-04-03 05:12:57.750+0000 [id=42]	INFO	hudson.util.Retrier#start: Attempt #1 to do the action check updates server
2021-04-03 05:12:57.863+0000 [id=28]	INFO	jenkins.install.SetupWizard#init: 

*************************************************************
*************************************************************
*************************************************************

Jenkins initial setup is required. An admin user has been created and a password generated.

Please use the following password to proceed to installation:

f0bd112a3d6b4ade9609a2d01b7ea857

This may also be found at: /root/.jenkins/secrets/initialAdminPassword

*************************************************************
*************************************************************
*************************************************************

2021-04-03 05:13:59.976+0000 [id=29]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
2021-04-03 05:14:00.051+0000 [id=22]	INFO	hudson.WebAppMain$3#run: Jenkins is fully up and running
2021-04-03 05:14:01.132+0000 [id=42]	INFO	h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
2021-04-03 05:14:01.134+0000 [id=42]	INFO	hudson.util.Retrier#start: Performed the action check updates server successfully at the attempt #1
2021-04-03 05:14:01.149+0000 [id=42]	INFO	hudson.model.AsyncPeriodicWork#lambda$doRun$0: Finished Download metadata. 63,470 ms

On the installation Process you will get the admin password and you will get the successfully running message

After that you will search the on browser using following URL localhost:8080 snap2 Then you need to unlock your Jenkins using the Admin Password: snap3 This is the welcome page of Jenkins. Here you need select your plugins to install with the Jenkins. Then the packages will be install snap4 snap5 After the plugins is installed then you need configure your admin user. Here I skip this step snap6 Here you can customize your Jenkins URL snap7 Then the Jenkins is ready to use. Click start using Jenkins snap8 This the dashboard of Jenkins snap9 I will tell you some important components about Jenkins. The new Item is used to you can create a job or project snap10 Once you click New Item Then you need to enter the item name that means job name then you need select your project type finally click ok snap11 Now the job is created. Here you can configure the job features. In General section you can add the description of the job. snap12 You can configure the source code on this source code management section snap13 You can trigger your job for when it has to run on this section snap14 Here you can configure your job to the environment basis using this section snap15 This the actual build part. In this section you can configure your job How it should be run and how it should not be run on here snap16

In this post build actions section you can define the actions. Like if the job executes successfully it will send mail to the client or if the job is got fails the mail will send to the required developers using option finally click save snap17 Then go to dashboard. Here you can the job have been created snap18 In this people section you can create multiple users then you can configure the privileges to them individually snap19 Here you can configure the plugins for the Jenkins jobs. snap20 Then build history is used to show the history of the jobs snap21 With this method to Install Jenkins on Linux Mint 20 is comes to an end.

Tags:
yousuf
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the command to start Jenkins service?

A

The command is # java -jar filename.war

Q

Where do I get the Jenkins software?

A

To get the Jenkins software from the following site # https://www.jenkins.io/download/

Q

Mention some of the important plugins in Jenkins?

A

Gits
Maven 2 Project
HTML Publisher
Copy Artcraft
Join
Green Balls
Amazon EC2

Q

What is Jenkinsfile?

A

The text file where all the definitions of pipelines are defined is called Jenkinsfile. It is being checked in the source control repository.

Q

Which CI Tools are used in Jenkin?

A

Jenkins supported the following CI tools:
Jenkins
GitLab CI
Travis CI
CircleCI
Codeship
Go CD
TeamCity
Bamboo

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help keel johnston ?
Unhide the folders on windows Explorer

Give any solutions to unhide folder using command prompt?

forum3

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.