I have a multibranch pipeline job.
When the pipeline runs for the master branch I want to:
- Check if this scm push was a merge
- Get the name of the branch that was merged
This way when the master build runs I can see if and which branch branch was merged into it and then do stuff with that info.
It would be nice if this is a built in jenkins feature or if this info can just be read from the GitSCM class