String p = prop.getProperty("oracle.password");
if (u==null || p==null) {
LOGGER.warning(f+" doesn't contain oracle.userName and oracle.password. Skipping JDK installation tests.");
} else {
DescriptorImpl d = jenkins.getDescriptorByType(DescriptorImpl.class);
d.doPostCredential(u,p);
}
} finally {
in.close();
}
}