set job state based on exit code
under review
A
Andrew Erickson
I have a repo that runs very long integration tests, but they don't need to run when I am only changing .md files/docs.
Right now, I can write a wrapper script that checks paths and only runs the tests if the files match, but the job state is always green/passing (there's no indication if the tests ran or if the script decided they didn't need to run - other than elapsed time). Ideally I could mark it as skipped if the tests didn't run.
It would be really nice if jobs could set the job state via an exit/result code.
gitlab feature that allows it as an example:
This would be a handy feature for monorepos also.
B
Barbara Nichols
under review
Thank you for your feedback. We will take this into consideration.