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

Xcode 7.X, erreur dans le fichier de Coverage -> "hits="9223372036854775808"" #99

Open
benjamin-s-webcenter opened this issue Dec 8, 2015 · 0 comments

Comments

@benjamin-s-webcenter
Copy link

Depuis le passage sous Xcode 7, je rencontre un problème avec le fichier de couverture de code qui contient des chiffres énormes qui font planter l'envoi des données vers SONAR.

-n Running SonarQube using SonarQube Runner
-n .
-n .
-n .
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: For input string: "9223372036854775808"
ERROR:
ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch.
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.

J'ai mis en place un HACK dans le fichier run-sonar.sh à la fin du bloque concernant la couverture de code pour remplacer tous les hits="n" ( où n est != 0), par hits="1".

find "./sonar-reports" -name "coverage-*.xml" -type f -exec perl -p -i -e "s/hits="[1-9]\d"/hits="1"/g" {} ;

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

No branches or pull requests

1 participant