Determining the (Git) Branch of the Jenkins Pipeline Job (1 mins read).

How to find out what branch the currently executing script has been checked out from.
Back to /posts/, 2021, March 2021.
Determining the (Git) Branch of the Jenkins Pipeline Job (1 mins read).

How to find out what branch the currently executing script has been checked out from.