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

If COVERALLS_SERVICE_NUMBER is set, set service_number from it. #208

Merged
merged 4 commits into from Mar 19, 2020

Conversation

midgleyc
Copy link
Contributor

@midgleyc midgleyc commented Feb 7, 2019

Coveralls allows to set separately a service_number and job_id, but only the job_id was currently being set. This adds the option to use an environment variable to set a different service_number if desired.

I've also removed the duplicate service_pull_request set on the json.

Remove the duplicate service_pull_request set.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 95.714% when pulling 609eeae on midgleyc:service_number into cc67125 on nickmerwin:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 95.714% when pulling 609eeae on midgleyc:service_number into cc67125 on nickmerwin:master.

@coveralls
Copy link

coveralls commented Feb 7, 2019

Coverage Status

Coverage decreased (-0.3%) to 97.238% when pulling a7a73d0 on midgleyc:service_number into 2ea7be3 on nickmerwin:master.

@phated
Copy link

phated commented Mar 24, 2019

This should either use service_job_number or change those references to service_number because that option isn't being serialized currently.

Also, I'd love to see this patch landed.

@midgleyc
Copy link
Contributor Author

midgleyc commented Apr 2, 2019

Wouldn't it be better to serialize job number, if it can be specified using a separate environment variable?

Admittedly, I worked on this so long ago I don't recall how the service works any more.

@nickmerwin
Copy link
Owner

Hi @midgleyc could you supply an example setup on a CI where the explicit setting of that environment variable is necessary?

@midgleyc
Copy link
Contributor Author

midgleyc commented Apr 5, 2019

If I recall correctly, it was an Azure DevOps release pipeline.

@joscha
Copy link
Contributor

joscha commented Nov 18, 2019

can we get this one in, please?

@nickmerwin
Copy link
Owner

Hi @midgleyc would you be up for resolving the conflicts when you get a chance, please?

@midgleyc
Copy link
Contributor Author

Sure, I think I've resolved it.

Bit of a blast from the past here, thanks for looking at it!

@nickmerwin nickmerwin merged commit b010d3d into nickmerwin:master Mar 19, 2020
@nickmerwin
Copy link
Owner

Thank you @midgleyc! Releasing now.

@midgleyc midgleyc deleted the service_number branch March 19, 2020 17:41
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.

None yet

5 participants