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 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 

Hope this helps!!

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

Thank you!!

answered Jul 27, 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,090 points
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 6, 2020 in Jenkins by MD
• 95,240 points
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,240 points
+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,550 points
+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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+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