try {
verifyCompatibility("legacy-update.xml", UpdateUpdater.class);
verifyCompatibility("legacy-checkout.xml", CheckoutUpdater.class);
verifyCompatibility("legacy-revert.xml", UpdateWithRevertUpdater.class);
} finally {
p.kill();
}
}
private void verifyCompatibility(String resourceName, Class<? extends WorkspaceUpdater> expected) throws Exception {
TopLevelItem item = jenkins.getItem("update");