[JENKINS-20950] Use RunAction2

[JENKINS-20950](https://issues.jenkins-ci.org/browse/JENKINS-20950) has the explanation.