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

Cleanup Target folders if user opts for code coverage #1820

Merged
merged 3 commits into from
Jun 9, 2016

Conversation

nigurr
Copy link

@nigurr nigurr commented Jun 1, 2016

Add clean task in case customer opts for CodeCoverage to avoid problem with un-instrumented classes left over

This should be merged after this PR:
microsoft/azure-pipelines-task-lib#85

@@ -318,7 +320,7 @@ function publishCodeCoverage(isCodeCoverageOpted: boolean) {
}

function publishCCToTfs() {
if (pathExistsAsFile(summaryFile)) {
if (tl.exist(summaryFile)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tl.exist(summaryfile) && tl.stats(summaryFile).isFile()

Do this every where where you replaced

@AshwiniChalla
Copy link
Contributor

approved with comments

@nigurr nigurr merged commit c74e850 into master Jun 9, 2016
@bryanmacfarlane bryanmacfarlane deleted the users/nigurr/FixCCReporting branch August 3, 2016 09:57
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.

4 participants