how to manually install plugins in Jenkins

0 votes
I want to run a selenium project in Jenkins. For that i will have to build the project. I want to use Ant for this purpose. How to build this project using Ant in Jenkins?
Jun 20, 2019 in Jenkins by Neel
• 3,020 points
5,604 views

2 answers to this question.

0 votes
For this purpose you need to have Ant plugin installed in Jenkins. If not installed then download it and install. After this you can follow these steps :

1. Go to jenkins dashboard and click on manage jenkins

2. click on global tool configuration.

3. In this section you will see Ant tab with Ant installation. You need to specify Ant name and its version. Also specify the Ant home.

4. Click on apply.

After this when you create a new job for your project follow these steps -

1. Select Ant in the Build Environment section.

2. Specify the path of the build.xml file. Click on apply.

Now you can build your project by clicking build now
answered Jun 20, 2019 by Arvind
• 3,050 points
0 votes

You can download the plugin (*.hpi file) and put it in the following directory:

<jenkinsHome>/plugins/

Afterwards you will need to restart Jenkins.

answered Aug 1, 2019 by Sirajul
• 59,230 points

Related Questions In Jenkins

0 votes
1 answer

How to install jenkins in Redhat/CentOS?

Hi@akhtar, To install Jenkins in centOS/Redhat, you can ...READ MORE

answered Feb 6, 2020 in Jenkins by MD
• 95,460 points
965 views
0 votes
1 answer

How to list down all Plugins in Jenkins from CLI?

Hi@akhtar, You need to download the jenkins-cli.jar file ...READ MORE

answered Jul 7, 2020 in Jenkins by MD
• 95,460 points
4,281 views
0 votes
2 answers
+5 votes
3 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 10,620 points
119,784 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 votes
1 answer
0 votes
2 answers

How to disable or reset security settings in Jenkins?

One other way would be to manually ...READ MORE

answered Aug 2, 2019 in Jenkins by Sirajul
• 59,230 points
20,986 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
78,885 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP