'Load data from the global config object.
This is done lazily to avoid looking up the \'[hipchat]\' section
unless actually required.'

def _load_global_data(self):

    jjb_config = self.registry.jjb_config
    if (not self.authToken):
        try:
            self.authToken = jjb_config.get_plugin_config('hipchat', 'authtoken')
            if (self.authToken == ''):
                raise jenkins_jobs.errors.JenkinsJobsException('Hipchat    authtoken    must    not    be    a    blank    string')
        except (configparser.NoSectionError, jenkins_jobs.errors.JenkinsJobsException) as e:
            logger.fatal(('The    configuration    file    needs    a    hipchat    section' + '    containing    authtoken:\n{0}'.format(e)))
            sys.exit(1)
        self.jenkinsUrl = jjb_config.jenkins['url']
        self.sendAs = jjb_config.get_plugin_config('hipchat', 'send-as')
