Jenkins, start build machine from item

1.3k Views Asked by At

I have Proxmox and Jenkins. I need to start a virtual machine on Proxmox (build slave) from a job in Jenkins.

I have a script that automatically creates and starts a VM on Proxmox and adds this VM as Jenkins slave. How to run this script from an item on Jenkins?

1

There are 1 best solutions below

0
On

Alternatively, there exists a Jenkins plugin that provides Proxmox integration.

You can have a look at https://plugins.jenkins.io/proxmox/