Set conditional status
In my build, if linting checks fail, I abort the build and fail right away. Right now, this means the status which is reported back is "no test results found". I would like to report back to GitHub that linting failed, instead. Is there any way to do this? I see in the docs:
Adding lines from the build log to the build result message
which sounds like what I need, but I can't figure out how to accomplish it. Any help or explanation would be greatly appreciated.
@janinko is it possible to achieve what I am looking for? Is it clear what I'm asking?
Any suggestions?
In your job configuration, find Trigger Setup under Build Triggers > GitHub Pull Request Builder. Look for "Commit Status Build Result", click Add and specify custom messaging for Build Result ERROR.