LOGGER.log(Level.WARNING,"Failed to update "+job+" "+getId()+" permalink for "+b,e);
cache.delete();
returncache;
}
}
// File.exists returns false for a link with a missing target, so for Java 6 compatibility we have to use this circuitous method to see if it was created.
asserts.contains("Build #"+buildNumber+"\n"):"link should point to build #$buildNumber, but link was: ${Util.resolveSymlink(file, TaskListener.NULL)}\nand log was:\n$s";