Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20743

How to obtain the secret to use when starting a slave with java from a scheduled task?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • vsphere-cloud-plugin
    • None
    • Windows

      When you make a dumb slave using Java Web Start, you get a command to start the slave from the command line in the slave overview page. This command contains a part "-secret <HEXSTRING>".

      When creating a vsphere slave with java webstart as secondary start option, there is no way to retrieve the secret to use to get the slave started, unless I missed something.

      The only work around for now seems to create the slave first as a dumb slave, then write down the secret, drop the slave and recreate it as a vsphere slave with the same name, as it seems the secret is determined by the name. This seems a strange way of doing things and introduces double work.

            Unassigned Unassigned
            dvnieuwe Davy Van Nieuwenborgh
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: