[JENKINS-12495] Support rebase/integrate actions on slave