I use windows based runner and sometimes my build system fails with exit code 2 or 3 that's not entirely a failure but warnings.
1. I would like to see them in bitbucket pipeline logs which I tried with after-script echo but doesn't work
2. Is there a way to tell pipeline fail a step only for exit code 1 and don't fail for other codes?
Thanks,
Ajay