Skip to content

Set bash -e as build node shell command

Afonso Mukai requested to merge use_bash_e_flag into master

Created by: amues

This makes scripts exit with an error after the first failing command and does not require using && to continue lines in scripts.

Description of work

See commit message above.

Issue

Addresses JIRA DM-923.

Acceptance Criteria

Jenkins job works as before, but && should no longer be required for scripts to fail after the first failed command.

Unit Tests

N/A

Other

N/A


Code Review (To be filled in by the reviewer only)

  • Is the code of an acceptable quality?
  • Do the changes function as described and is it robust?

Nominate for Group Code Review (Anyone can nominate it)

Indicate if you think the code should be reviewed in a Thursday code review session.

  • Recommend for group code review

Also, nominate it on the code_review Slack channel (does someone want to automate this?).

Merge request reports