private static void assertFile(boolean exists, String path, Build<?, ?> b) throws IOException, InterruptedException { if (b.getWorkspace().child(path).exists() != exists) assertEquals(path + ": " + getLog(b), exists, !exists); }