Skip to content

omaciel/scout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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> --plan <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> --plan <plan name>

The configuration file has the following format:

[user]
username=jenkins_user
password=jenkins_user_password

[server]
url=jenkins_url/jenkins/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.jenkins.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://jenkins.rhq.lab.eng.bos.redhat.com:8080/jenkins/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

Contributors 3

  •  
  •  
  •  

Languages