Skip to content

NH-4028 - support another kind of inconclusive result. #655

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

Merged
merged 2 commits into from
Jul 2, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions teamcity.build
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,10 @@
public enum ResultStatus
{
None,
Failure,
Ignored,
Success,
Failure
Inconclusive,
Success
}

public class Result
Expand All @@ -305,7 +306,7 @@
{
get
{
return Executed && !Success && Status == ResultStatus.Success;
return Executed && !Success && (Status == ResultStatus.Success || Status == ResultStatus.Inconclusive);
}
}

Expand Down Expand Up @@ -376,7 +377,7 @@
// Else ignored
.ThenBy(r => r.Executed)
// Else inconclusive
.ThenBy(r => r.Status == ResultStatus.Success ? 0 : 1)
.ThenBy(r => r.Inconclusive ? 0 : 1)
.First());
var after = Result.ParseFile(currentResult);

Expand Down