-
Inside
getRemote()method is the set variables in the uri template okay? -
In
retrieve(head,listener)using a different version ofgetBranch(project, head.getName())and not supplyingusernamelike gitea plugin. Recheck if it still works. -
Unable to get sha of gitlab mr head. No api call for that. So used
mr.getSha()instead ofmr.getHead().getSha().
^ Fixed it by getting the head sha by mr.getDiffRef().getHeadSha().
- See how head is populated in
retrieve(head,listener).