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

answered Jul 27, 2020 by Karan
• 19,580 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
• 58,990 points
927 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 6, 2020 in Jenkins by MD
• 95,060 points
447 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,060 points
85 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,530 points
40,727 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
949 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,580 points
102 views