Scout fetches results from [Jenkins] (http://jenkins-ci.org/) runs which can be used to generate reports.
Assuming you have a valid account for an existing [Jenkins] (http://jenkins-ci.org/) server, fetch the results of a plan run:
$ python scout.py -u <username> -p <password> -s <url> -p <plan name>
{'name': 'plan-name', 'errors': None, 'status': u'UNSTABLE', 'skipped': 46, 'url': u'http://<server>/<plan-name>/263/', 'failed': 34, 'passed': 255, 'date': u'2013-04-30', 'total': 335}
One can also pass a configuration file as an argument:
$ python scout.py -c <filename> -p <plan name>
The configuration file has the following format:
[user]
username=hudson_user
password=hudson_user_password
[server]
url=hudson_url/hudson/job
You can also use python and use the data returned to create different outputs:
from scout import *
data = fetch_build_data("username", "password", "http://my.hudson.com/job", "project-cli")
print "|| || %(date)s || %(passed)s || %(skipped)s || %(failed)s || %(total)s || %(url)s || ||" % data
|| || 2013-05-03 || 257 || 46 || 32 || 335 || http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/katello-gui/277/ || ||
Simply clone the repository to your system:
$ git clone git://github.com/omaciel/scout.git
This software is developed by [Og Maciel] (http://ogmaciel.tumblr.com>).