Some of the steps that i have done are described below:
Setup Jenkins on remote linux server.
Used own mac as a slave to run Xcode build
I have setup a Web hook on bitbucket that runs a build on Jenkins server.
Build gets triggered when i push code to repo.
I have shared scheme in the Xcode project.
But whenever i push failing tests on my repo the build passes..Shouldn't CI server fail the build..I dont know where am i missing..I have posted some screenshots for clear reference
EDIT: with more research i came to know that build fails but you need to see the test results/reports that fails.How can i see the reports? I cant see any xml files under reports section