BB-848 Fix Hyphen Issue with Branch Names
What
- Branch names where being truncated at weird lengths and causing issues in aws with naming rules
- This sets the branch name + commit name to be exactly 15 characters which prevents the truncation from effecting us
- Also sets spot instance to false to make the builds more reliable.
- Also increases the artifact expiration from 1 hr to 24 hrs.
Why
- So pipelines don't fail due to naming issues caused by truncation.
Related Link
- build of
umbrella
using these changes here
Edited by Ismail Ahmad