I am using Jenkins multibranch pipeline pull request feature when i print env.BRANCH_NAME it prints PR-pullrequestnumber. instead of that i want to get branch name how could i get it ?
Get branch name in case of pull request jenkins multibranch pipeline
2.1k views Asked by deenbandhu At
2
You will get the exact branch name after merging the code. It's just to differ