Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUN-1634: Fix exit codes on command failures #501

Merged
merged 5 commits into from
Apr 20, 2023
Merged

RUN-1634: Fix exit codes on command failures #501

merged 5 commits into from
Apr 20, 2023

Conversation

gschueler
Copy link
Member

extends pr #385

conversion to picocli broke the exit code behavior for a number of commands on failure:

  • acl test/validate
  • adhoc -f
  • projects archives import --strict
  • projects archives export (asynch wait failure)
  • executions kill (failure)
  • executions follow
  • jobs files load
  • jobs purge/load/enable/disable/reschedule/unschedule/enablebulk/disablebulk/reschedulebulk/unschedulebulk
  • keys list/get
  • license status
  • metrics healthcheck
  • cluster mode active/passive
  • system mode active/passive
  • projects delete
  • retry
  • scm status/perform

conversion to picocli broke the exit code behavior for a number of commands on failure:

* acl test/validate
* adhoc -f
* projects archives import --strict
* projects archives export (asynch wait failure)
* executions kill (failure)
* executions follow
* jobs files load
* jobs purge/load/enable/disable/reschedule/unschedule/enablebulk/disablebulk/reschedulebulk/unschedulebulk
* keys list/get
* license status
* metrics healthcheck
* cluster mode active/passive
* system mode active/passive
* projects delete
* retry
* scm status/perform
@gschueler gschueler added the to-jira (automation) add to jira label Mar 30, 2023
@gschueler gschueler changed the title Fix exit codes on command failures RUN-1634: Fix exit codes on command failures Mar 30, 2023
@gschueler gschueler merged commit aa8adc4 into main Apr 20, 2023
@gschueler gschueler deleted the fix/exit-code branch April 20, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-jira (automation) add to jira
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant