Fix fabric configuration failures due to onos cli output change

Change-Id: I0430382adf837fdedc7cdcbbc51f2cbe815d1772
diff --git a/Jenkinsfile.newBuildSystem b/Jenkinsfile.newBuildSystem
index 9e113e1..d5690cc 100644
--- a/Jenkinsfile.newBuildSystem
+++ b/Jenkinsfile.newBuildSystem
@@ -417,7 +417,7 @@
         switchMac = switchMac.toLowerCase().replaceAll(':','')
         // Get fabric IPs of compute nodes connected to the switch
         try {
-            computeFabricIps = runHeadNodeCmd("sshpass -p rocks ssh -q -oStrictHostKeyChecking=no -l onos -p 8101 onos-fabric hosts -j | jq '.[] | select(.location.elementId | contains(\\\"${switchMac}\\\")) | .ipAddresses' | grep -o '\\\"${fabricIpPrefix}.[1-9][0-9]*.[0-9]*\\\"'",
+            computeFabricIps = runHeadNodeCmd("sshpass -p rocks ssh -q -oStrictHostKeyChecking=no -l onos -p 8101 onos-fabric hosts -j | jq '.[] | select(.locations[].elementId | contains(\\\"${switchMac}\\\")) | .ipAddresses' | grep -o '\\\"${fabricIpPrefix}.[1-9][0-9]*.[0-9]*\\\"'",
                                               "-q").trim()
          }catch (exception) {
             return computeNames