We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try to upload JSON file generated by CoverallsGenerateGcov.cmake script, I get the following error:
CoverallsGenerateGcov.cmake
{"message":"Couldn't find a repository matching this job.","error":true}
It seems this happens when the git commit message is multiline. Here is an example JSON file with multiline message:
"git": { "head": { // ... "message": "Merge pull request #123 from some/project Pull request title with multiline comment" }, "branch": "master", "remotes": [] }
Since JSON doesn't allow real line break, this file is not valid one.
One possible solution I can come up with is replacing \n with \\n so that the message include \n instead of the real line breaks as:
\n
\\n
"git": { "head": { // ... "message": "Merge pull request #123 from some/project\n\nPull request title with multiline comment" }, "branch": "master", "remotes": [] }
The text was updated successfully, but these errors were encountered:
Merge pull request #13 from jslee02/fix_multiline_message
127e0bb
[Fix #12] Replace \n with \\n of git commit message
Successfully merging a pull request may close this issue.
When I try to upload JSON file generated by
CoverallsGenerateGcov.cmake
script, I get the following error:It seems this happens when the git commit message is multiline. Here is an example JSON file with multiline message:
Since JSON doesn't allow real line break, this file is not valid one.
One possible solution I can come up with is replacing
\n
with\\n
so that the message include\n
instead of the real line breaks as:The text was updated successfully, but these errors were encountered: