[JENKINS-23117] supppor launcher in perform buildstep

This change allows us to run "Execute shell" or "Execute Windows Batch" as a timeout action.
I'm not sure side-effects of creating launchers multiple times in a build, and users should use this feature for their own risk.