JENKINS-24133: Fixed notifyCommit's result branch set in build data
Placed expected var into expected argument position in assertion