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

Coverage report contains Control Character symbols #303

Closed
iharkatkavets opened this issue Oct 17, 2016 · 3 comments
Closed

Coverage report contains Control Character symbols #303

iharkatkavets opened this issue Oct 17, 2016 · 3 comments
Labels
Milestone

Comments

@iharkatkavets
Copy link

iharkatkavets commented Oct 17, 2016

I running coverage task with parameters (see below) and got control character symbol code 27 ('^[') in the report (screenshot attached). Sonar doesn't accept this report because XML can't contain any control symbols.

coverage {
    outputFormat = 'xml'
    exclude = '.h$|.Pods.*m$|.UnitTests.*m$|.ConaxSDKTests.*m$|.NetworkTests.*m$'
}

xcodetest {
    scheme = 'Tests'
    arch = ['x86_64']
    simulator = true
    destination = 'iPad Air 2'
}

xcodebuild {
    scheme = 'MyApp'
    target = 'MyApp'
    configuration = (project.hasProperty('CONFIG') ? CONFIG : 'Release')
    simulator = false
    def mobileProvisionPath = (configuration == 'Debug') ?
            "DefaultBrand/development.mobileprovision" :
            "DefaultBrand/production.mobileprovision"
    def certificatePath = (configuration == 'Debug') ?
            "DefaultBrand/development.p12" :
            "DefaultBrand/production.p12"
    signing {
        mobileProvisionURI = [file(mobileProvisionPath).toURI()]
        certificateURI = file(certificatePath).toURI()
        certificatePassword = ''
    }
}

screen shot 2016-10-17 at 12 56 22 pm

Could you help?

Thanks!

@renep
Copy link
Contributor

renep commented Oct 20, 2016

Wrong project :-)
The error is in the CoverageReport Tool: https://github.com/openbakery/CoverageReport

@renep
Copy link
Contributor

renep commented Oct 20, 2016

I have updated the CoverageReport tool that hopefully fixes this issue. It takes some time until the jars is deployed in the maven repos and then I want to update the plugin to use the new version.

@renep renep added the bug label Oct 20, 2016
@renep renep added this to the 0.14.3 milestone Oct 20, 2016
@renep
Copy link
Contributor

renep commented Oct 20, 2016

should hopefully be fixed with 0.14.3.
If not then reopen this issue with further details.

@renep renep closed this as completed Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants