aa.setAllowEmptyArchive(true);
assertRoundTrip(new CoreStep(aa), "step([$class: 'ArtifactArchiver', allowEmptyArchive: true, artifacts: 'x.jar', defaultExcludes: true, excludes: '', fingerprint: false, onlyIfSuccessful: false])");
}
@Test public void blockSteps() throws Exception {
assertRoundTrip(new ExecutorStep(null), "node {\n // some block\n}");
assertRoundTrip(new ExecutorStep("linux"), "node('linux') {\n // some block\n}");
assertRoundTrip(new WorkspaceStep(), "ws {\n // some block\n}");
}