We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exit
1 parent 0cb7011 commit 4a44f45Copy full SHA for 4a44f45
fcli-core/fcli-common/src/main/java/com/fortify/cli/common/action/runner/ActionRunner.java
@@ -67,6 +67,8 @@ public final Integer _run(String[] args) {
67
processAndPrintCheckStatuses(ctx.getCheckStatuses());
68
overallCheckstatus = processAndPrintCheckStatuses(checkStatuses);
69
}
70
+ // Retrieve exit code set by action's exit step (if any)
71
+ exitCode = ctx.getExitCode();
72
73
// Determine final exit code
74
return exitCode==0 && overallCheckstatus==CheckStatus.FAIL ? 100 : exitCode;
0 commit comments