heisenbug64
2 years agoRegular Visitor
How to get current branch name
I have a Readyapi composite project in Git. I switch branches using the Readyapi integrated Git client. Is there any possibility to get to current branch name or even switch to another branch using a groovy script?
Use case: To separate testruns and their results in our reporting I want to group the results by the current branch selected for a given test run.