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

Add exception handler for no NETWORK_ADRESS

XMLWordPrintable

      vRA does not include the NETWORK_ADRESS element if a VM does not have an IP assigned to the network. The result is an NPE for a VM with no IP when generating the Jenkins environment variables.

      This part of the code needs an exception handle...

      machineDataList.add(jsonNetworkData.getAsJsonObject().get("NETWORK_ADDRESS").getAsString());

            inkysea Kris Thieler
            inkysea Kris Thieler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: