371372373374375376377378379380381
out.println("Sharing "+target); try { hudson.setProperty("sharesmb","on"); hudson.setProperty("sharenfs","on"); hudson.share(); } catch (ZFSException e) { listener.error("Failed to share the file systems: "+e.getCode()); } // delete back up
366367368369370371372373374375376