Project

General

Profile

Bug #11591

Exit codes of scripts being run aren't respected

Added by Stephen Benjamin almost 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Create a job that just does "exit 5" and the task still reports as successful.

Associated revisions

Revision dba4125c (diff)
Added by Ivan Necas almost 7 years ago

Fixes #11591 - propagate script exit codes

Revision 908c8b81
Added by Ivan Necas almost 7 years ago

Merge pull request #6 from iNecas/pipefail

Fixes #11591 - propagate script exit codes

History

#1 Updated by Ivan Necas almost 7 years ago

  • Assignee set to Ivan Necas
  • Target version set to 85

Thanks for reporting: I was able to reproduce the issue and will investigate it

#2 Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/6 added
  • Pull request deleted ()

#3 Updated by Marek Hulán almost 7 years ago

  • Legacy Backlogs Release (now unused) set to 83

#4 Updated by Ivan Necas almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF