assert script != null;
RuntimeContext rc = RuntimeContext.get().batchId(script.getId()).buildId(script.getBuildId());
Ternary dryRunResult = consumeBoolean(copyDefinitions, KEY_VERIFY_DRYRUN);
if (dryRunResult == Ternary.TRUE) {
rc = rc.mode(ExecutionMode.SIMULATION);
} else if (dryRunResult == Ternary.FALSE) {
rc = rc.mode(ExecutionMode.PRODUCTION);
}
Ternary verify = consumeBoolean(copyDefinitions, KEY_VERIFY_APPLICATION);