Wrong branch name reported in Catlight from Jenkins Multibranch pipeline
I may be doing things wrong here.
I have a Multibranch pipeline in jenkins that runs the builds for each branch - at the beginning of this pipeline I am importing a library from another git repository.
@Library('<name>@<tag>')
In catlight - the branch name is the one of the Library I am importing (or the tag I am importing from the library) - not the branch of the actual project.
How is catlight detecting the branch name?