2

Catlight show "unknown branch" when building branch merges

Hi there

I'm running Catlight 2.32.2 and our CI engine is Jenkins v2.235.5.

We're running GitFlow and when we merge a pull request, say PR1, into develop, all other PRs 2, 3 and 4 are triggered, merging the new develop commit (PR1) into PR2, 3 and 4

When that happens, Catlight reports '~unknown-branch' for branches that are about to be built and if i.e. PR2 experiences merge conflicts, the build fails in Catlight, but for "unknown-branch" with the message: "Somebody broke the build", not who it is.

It's quite annoying to not be able to see where the build comes from without opening the build in the browser :o/

See attached image: 

image-1604908093325.png

Regards Kristian

1 reply

We take branch name from the Jenkins API. 

Can you try to reproduce this situation, and while the build is running, open the job in the browser. Then append /api/json?pretty=true&depth=2 to the url. Jenkins should show you a long json page. Do you see the expected branch there anywhere?