Support parameters in BuildTrigger.
Finally got buildShellScriptAcrossRestart to pass (usually).