Right now, Blue Ocean is displaying a not so useful "no branch" on every single pages.
Example on https://ci.jenkins.io :
In my opinion, no time should even be spent trying to actually get the right branch there. With Git, a sha is enough to assess the exact state of a code base. So better go simple here and just get rid of this text.
And FWIW, funnily enough, if you look at bug reports here, there's dozens of JIRAs containing that "no branch" string because people copied that string and so it landed in the Environment field of those reported JIRAs .