jenkins multi branch pipeline merge code example
Example: git merge branch in jenkins pipeline
withCredentials([sshUserPrivateKey(credentialsId: '<credential-id>', keyFileVariable: 'SSH_KEY')]) {
sh("git push origin <local-branch>:<remote-branch>")
}