nickmerwin/node-coveralls

Azure pipelines branch name with slashes

KagamiChan opened this issue · 2 comments

Hi I'm trying using coveralls with Azure pipelines. The problem I met is that if I have a slash in branch name, then the coveralls report will point to a wrong branch because in Azure pipelines, Build.SourceBranchName will only take the last part.

I'm not sure if coveralls could accept a "full path" like refs/heads/foo/bar, if so we could use Build.SourceBranch instead

tested with a fork and it runs
https://github.com/KagamiChan/node-coveralls

I could file a PR if you think it is good

Since this library doesn't seem to be supported anymore I fix a bunch of things on a fork if you want to check it out and are still pulling the library into your packages: https://github.com/jtwebman/coveralls-next I would be willing to pull the fix into my fork.