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

Send service_name and service_job_id only if both are set #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrc0mmand
Copy link

By default we set service_name to travis-ci if service_name is
unset, but that in combination with an empty service_job_id causes all
such submitted results to end up in a single build (as they have the same
job ID) instead of the expected behavior where each submitted result has
a separate build.

The API[0] states that we should either use repo token or both service
job ID and service name, so let's do just that.

[0] https://docs.coveralls.io/api-introduction

By default we set `service_name` to `travis-ci` if `service_name` is
unset, but that in combination with an empty `service_job_id` causes all
such submitted results to end up in a single build (as they have the same
job ID) instead of the expected behavior where each submitted result has
a separate build.

The API[0] states that we should either use repo token or _both_ service
job ID and service name, so let's do just that.

[0] https://docs.coveralls.io/api-introduction
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.

1 participant