public String getHelpPage() {
// yes, I know this is a hack. ComputerSet object = Stapler.getCurrentRequest().findAncestorObject(ComputerSet.class);
if (object != null) {
// we're on a node configuration page, show show that help pagereturn"/help/system-config/nodeEnvironmentVariables.html";
} else {
// show the help for the global config pagereturn"/help/system-config/globalEnvironmentVariables.html";
}
}
}