Jobs expose their configuration through an xml file which can be retrieved through the api.
Right now this method returns the raw xml as \n terminated strings.
This may change in the future to support more useful xml based structures
except NoBuildData:
log.info("No build info available for %s, assuming not running." % str(self) )
return False
+
+ def get_config(self):
+ '''Returns the config.xml from the job'''
+ return self.hit_url("%(baseurl)s/config.xml" % self.__dict__)