[SERVER-23372] Set errexit in evergreen.yml before checking out mongo-tools Created: 28/Mar/16  Updated: 04/Apr/16  Resolved: 04/Apr/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Brian Samek Assignee: Brian Samek
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-20183 make mongo-tools a module in the ever... Closed
Sprint: Build 13 (04/22/16)
Participants:

 Comments   
Comment by Kyle Erf [ 28/Mar/16 ]

There are plenty of cases where a user might not want bash scripts to exit on first error, and we have other projects running in evergreen that depend on that behavior, so I don't think we should make it the default. We could probably make shell arguments configurable on some level within the project file, but I'll have to think about how best to do that.

Comment by Ramon Fernandez Marina [ 28/Mar/16 ]

Somewhere someone is calling /bin/bash or similar – why not /bin/bash -e ?

Comment by Michael O'Brien [ 28/Mar/16 ]

It's an option that must be set inside a bash script, so it's not something you can change the default for at the outer YML config level.

Generated at Thu Feb 08 04:03:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.