Install Jenkins Plugin from Jenkins CLI

0 votes

Hi Guys,

I am new to Jenkins. I have configured Jenkins CLI in my Windows system. I want to install the Kubernetes Plugin in my Jenkins from CLI. How can I do that?

Jul 7, 2020 in Jenkins by akhtar
• 38,260 points
3,180 views

1 answer to this question.

0 votes

Hi@akhtar,

You need to tell your Plugin name in your Jenkins CLI command. It will automatically connect to your Jenkins with the help of the jenkins-cli.jar file and install the plugin. Use the below-given command to install your plugin.

$ java -jar jenkins-cli.jar -s Jenkins_URL -webSocket install-plugin Kubernetes
Installing Kubernetes from update center

I hope this will help you.

answered Jul 7, 2020 by MD
• 95,460 points

Related Questions In Jenkins

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
+1 vote
2 answers

What possible return values are there in Jenkins plugin “Sonarqube scanner”

Use Webhooks in SonarQube Administration setup to ...READ MORE

answered Aug 3, 2018 in Jenkins by Nilesh
• 7,060 points
4,769 views
+2 votes
5 answers
0 votes
1 answer

sonar XML plugin installation failure in jenkins

You can try the SonarQube XML plugin. ...READ MORE

answered Jun 21, 2018 in Jenkins by Atul
• 10,240 points
998 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,061 views
+2 votes
1 answer
0 votes
1 answer

How to build one Job from Jenkins CLI?

Hi@akhtar, To build a job from Jenkins CLI, ...READ MORE

answered Jul 7, 2020 in Jenkins by MD
• 95,460 points
2,054 views
0 votes
1 answer

How to create one Job 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,016 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