-
Notifications
You must be signed in to change notification settings - Fork 16
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
Test and Deprecate Publish HTML Report #67
Test and Deprecate Publish HTML Report #67
Conversation
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Please remove all extra lines and spaces |
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
…t testing Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
…-coveragepublisher into users/shrchandra/CleanupforPublishHTMLReport
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
Signed-off-by: Shriti Chandra (from Dev Box) <[email protected]>
@@ -31,7 +34,7 @@ public static void Main(string[] args) | |||
ProcessCoverage(config, _cancellationTokenSource.Token); | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Please remove extra line
|
||
|
||
// Feature Flag for testing and deprecating PublishHTMLReport | ||
if (!IsPublishHTMLReportDeprecationEnabled && config.GenerateHTMLReport) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default state of FF should be off. When we turn it on , then only it should go inside this for loop. So you can remove the "!" mark for the FF name
@@ -57,7 +57,7 @@ private static void ProcessCoverage(PublisherConfiguration config, CancellationT | |||
var publishTimedout = processor.ParseAndPublishCoverage(config, cancellationToken, new Parser(config, context.TelemetryDataCollector)) | |||
.Wait(config.TimeoutInSeconds * 1000, cancellationToken); | |||
|
|||
if(publishTimedout) | |||
if (publishTimedout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove extra space
@@ -66,7 +66,7 @@ private static void ProcessCoverage(PublisherConfiguration config, CancellationT | |||
publishSuccess = true; | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove extra line
The changes are behind a Feature Flag.
Local testing
Taking a .xml file as input
With the FF set to OFF -
The HTML report is being generated and uploaded in the artifacts -
With the FF set to ON :
The HTML report is not being generated and consequently, it is not being published to artifacts