Skip to content

tkolhar/scout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scout

Introduction

Scout fetches results from [Jenkins] (http://jenkins-ci.org/) runs which can be used to generate reports.

Examples

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/ || ||

Installation

Simply clone the repository to your system:

$ git clone git://github.com/omaciel/scout.git

Author

This software is developed by [Og Maciel] (http://ogmaciel.tumblr.com>).

About

Fetches results from Hudson runs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published