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

Unstable Build Support #33

Open
emaxsaun opened this issue Apr 3, 2018 · 5 comments
Open

Unstable Build Support #33

emaxsaun opened this issue Apr 3, 2018 · 5 comments

Comments

@emaxsaun
Copy link

emaxsaun commented Apr 3, 2018

Hi all, thanks again for this great plugin. I have my reporting working well now, but I always keep coming back with another issue :) But I think this is the last one!

Currently in Jenkins in our current testing framework (Cucumber-JVM, which we are trying to move off of, we mark a build as Success if is passes with one report, a Failure if both the first run and the rerun reports fail, and an Unstable if the first run report Fails, but the Rerun passes.

In Protractor, using Protractor-Retry, is there a way that you guys can send the proper exit code so that Jenkins will trigger Unstable for us in this case? Currently the tests will mark a build as Success even if the first run failed, but the second run passed. I want to have it mark as Unstable in this case to increase visibility to our team as to what the flakey tests in our suite are :) Thank you all!

@dreuxl
Copy link
Contributor

dreuxl commented Apr 4, 2018

hi,

we support only success (return 0) and failure (return 1), we currently dont have intermediate status code atm.

@emaxsaun
Copy link
Author

emaxsaun commented Apr 4, 2018

Ah, I see. Too bad :(

This feature is really more of a nice to have for us.

I wanted to see if at some point during the test run that there was a return of 1, but at the end, if there is a return of 0, then it failed at one point, but passed on the retry, so make the build status unstable.

Maybe I will have to look into a plugin for Jenkins to force the build status to unstable for something like this.

@dreuxl
Copy link
Contributor

dreuxl commented Apr 4, 2018

but it s a good idea though :) let me think about it

@emaxsaun
Copy link
Author

emaxsaun commented Apr 4, 2018

Ok, thanks :)

@emaxsaun
Copy link
Author

Let me know what you think of this idea :) Maybe it can be a configuration option?

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

No branches or pull requests

2 participants