setting up static node controlled by vsphere-cloud-plugin

26 views
Skip to first unread message

christop...@googlemail.com

unread,
Feb 23, 2022, 2:54:52 AM2/23/22
to Jenkins Users
Hi!

I am working with vsphere-cloud-plugin to dynamically set up vms as build node from a template on demand. Therefore I made use of a template .cmd-file provided by the plugin that loads slave.jar from the server and reads the parameters from GuestInfo parameters.
I am also using the same script to set up fixed nodes with fixed parameters and set the name and secret to use manually.
This time I need a statically created node under control of the vsphere-cloud-plugin (in order to base it to a Snapshot after finished test runs).

But here I am not able to find out how to transfer the parameters. There is no setting which GuestInfo-parameters to set nor a startup-page that shows me the JNLP_SECRET I could add manually.
Anyone experienced who could guide me how to proceed here?

My apporach is:
Create node -> Agent running within a vSphere hypervisor

Many thanks in advance!
Best regards,
Christoph

christop...@googlemail.com

unread,
Feb 23, 2022, 6:25:32 AM2/23/22
to Jenkins Users
For the records:
I found a solution there:

But I regard the missing display of the proper startup command as a bug.

Thanks for listening!
Reply all
Reply to author
Forward
0 new messages