Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "puts FAILED" for Jenkins, else it doesn't recognize FAILED steps #58

Closed
wants to merge 3 commits into from

Conversation

JohnBat26
Copy link

No description provided.

@gongo
Copy link
Owner

gongo commented Jul 29, 2015

Yeah 😄
Thanks for pull-request 👍
But I cannot understand necessity of this patch for me right now 💪
See you next time 👋

@gongo gongo closed this Jul 29, 2015
@JohnBat26 JohnBat26 changed the title Add puts Add "puts FAILED" for Jenkins, else it doesn't recognize FAILED steps Jul 29, 2015
@JohnBat26
Copy link
Author

@gongo Add "puts FAILED" for Jenkins, else it doesn't recognize FAILED steps

@gongo
Copy link
Owner

gongo commented Jul 29, 2015

You should be able to recognize the failed steps using a status code of RSpec

@JohnBat26
Copy link
Author

@gongo hmm. If I start test as:

 bundle exec rspec  -r turnip/rspec spec/acceptance/ -r turnip_formatter --format RSpecTurnipFormatter --out report.html

then I don't get any info info in console. And Jenkins does false positive decision about build.

I one of my steps failed, Jenkins didn't know about it at all :(


@gongo
Copy link
Owner

gongo commented Jul 29, 2015

Try add to the end:

- bundle exec rspec  -r turnip/rspec spec/acceptance/ -r turnip_formatter --format RSpecTurnipFormatter --out report.html
+ bundle exec rspec  -r turnip/rspec spec/acceptance/ -r turnip_formatter --format RSpecTurnipFormatter --out report.html --format documentation

@JohnBat26
Copy link
Author

Ok. Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants