[Jenkins] Add nuint xml logs - #883
Conversation
|
Build failure |
| args.Append (" -argument=-app-arg:-enablenetwork"); | ||
| args.Append (" -setenv=NUNIT_ENABLE_NETWORK=true"); | ||
| // detect if we are using a jenkins bot. | ||
| if (!string.IsNullOrEmpty (Environment.GetEnvironmentVariable ("BUILD_REVISION")) |
There was a problem hiding this comment.
There's already a Harness.InWrench method, so it makes sense to extract this to a Harness.InJenkins method as well.
|
Build failure |
|
Build |
|
@rolfbjarne I was debugging, the test were not being executed as I wanted in jenkins so I wanted to see if the message was added. Will remove if it is just garbage. |
|
Build failure |
|
Yeah, the |
|
@rolfbjarne learning by touching ;) Lets see this next build, I have high hopes. If everything works, we should have much better comments from the bot. |
07ce061 to
59c367d
Compare
|
Build failure |
e26d35f to
85439c9
Compare
|
Build failure |
|
The watchOS tests are still crashing. |
25d354a to
6554c38
Compare
046e2cc to
32202b4
Compare
|
Build failure |
… Wrench we prefer the old style.
…that will improve the tests results reporting.
…nly Jenkins reports.
852033b to
4dfdec7
Compare
|
Build failure |
2 similar comments
|
Build failure |
|
Build failure |
| } | ||
| } | ||
|
|
||
| void GenerateHumanReadableLogs (string finalPath, string logHeader, XmlDocument doc){ |
There was a problem hiding this comment.
style: Opening brace goes on the next line.
| } | ||
| } | ||
|
|
||
| public bool TestsSucceeded (LogStream listener_log, bool timed_out, bool crashed) { |
There was a problem hiding this comment.
style: Opening brace goes on the next line.
| Harness.LogWrench ("@MonkeyWrench: AddSummary: <b><i>{0} timed out</i></b><br/>", mode); | ||
| success = false; | ||
| } else if (launch_failure) { | ||
| Harness.LogWrench ("@MonkeyWrench: AddSummary: <b><i>{0} failed to launch</i></b><br/>", mode); |
There was a problem hiding this comment.
You've lost this launch_failure condition (it was added after you started your branch, and probably got removed at some when you rebased).
There was a problem hiding this comment.
Good catch. Fixing.
|
Build failure |
|
Build success |
| main_log.WriteLine ("Test run never launched"); | ||
| success = false; | ||
| } else if (launch_failure) { | ||
| Harness.LogWrench ("@MonkeyWrench: AddSummary: <b><i>{0} failed to launch</i></b><br/>", mode); |
There was a problem hiding this comment.
The indentation looks wrong here.
|
Build failure |
2 similar comments
|
Build failure |
|
Build failure |
|
Build success |
Change the execution of the tests to output info in xml to be able to parsed by jenkins.