How to use existing Azure VM in Jenkins Azure VM plugin

0 votes
I already have a Linux VM that I want to connect as a slave to master.

I have added Service principal credentials and I want to make a slave that is an exisiting VM. I am already using existing resource group.Adding Azure VM template seems to be creating a new VM (if I'm not mistaken). How do I use an existing VM?
Jul 14, 2020 in Jenkins by hannah
• 120 points
1,668 views

1 answer to this question.

0 votes

In order to use the Azure VM plugin to create VM agents, first you need to have an Azure Service Principal in your Jenkins instance.

Once you have these pre-requisites, you could use Linux Agents on Azure Cloud using SSH.

Refer for detailed information https://plugins.jenkins.io/azure-vm-agents/ 

Hope this helps!!

If you need to know more about Azure, enroll with Microsoft Azure training course today.

Thank you!!

answered Jul 28, 2020 by Karan
• 19,610 points

Related Questions In Jenkins

0 votes
2 answers
0 votes
1 answer

How to configure and use third party tools in jenkins?

The procedure to utilize a third party ...READ MORE

answered Aug 27, 2019 in Jenkins by Sirajul
• 59,230 points
3,775 views
0 votes
1 answer

How to use Jenkins CLI in Windows system?

Hi@akhtar, You need to install Java in your ...READ MORE

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

How to remove an existing job from one view in Jenkins?

Hi@akhtar, You can remove or add jobs in ...READ MORE

answered Dec 8, 2020 in Jenkins by MD
• 95,460 points
14,245 views
+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,669 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,039 views
+2 votes
1 answer
0 votes
1 answer

How to restore archived artifacts in jenkins?

Do you mean accessing the archived artifacts ...READ MORE

answered Oct 15, 2020 in Jenkins by Karan
• 19,610 points
1,284 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