Giter VIP home page Giter VIP logo

jetere's Introduction

jetere

Jenkins test reports using Django

Installation

Prepare a Python 2.7.x virtualenv and activate it.

Run:

# Clone
git clone [email protected]:idanmo/jetere.git

# Install
./install.sh

# Create a superuser
./manage.py createsuperuser

Configuration

  • Point your browser to: http://localhost:8000/admin
  • Login using superuser.
  • Add a Configuration object with your jenkins server info.
  • Point your browser to: http://localhost:8000/admin
  • Create a Job object for each jenkins job you would like to generate test reports for.

Job object example:

  • name: aaa
  • jenkins_path: dir_system-tests/system-tests

Run the server

./manage.py run --sync

The --sync flag will automatically sync jetere with jenkins every 1 minute.

Happily browse to http://localhost:8000 and view your test reports.

jetere's People

Stargazers

 avatar

Watchers

 avatar

jetere's Issues

Slash in Jenkins or configuration path

Can not reach the requested URL because of slash at the end of Jenkins and/or configuration path.
Error code: 404

Example:
dir_system-tests/system-tests-3.4.1**/**

Error when processing aborted build

Error when processing aborted build:

Error processing build number 659 for job [Job [id=2, name=system-tests, jenkins_path=dir_system-tests/system-tests]]: IOError - Request for resource: "http://jenkins-master.gspaces.com:8080/job/dir_system-tests/job/system-tests/659/testReport/api/json" status code = 404
Traceback (most recent call last):
File "/home/dmitry/cloudify-cosmo/jetere/reports/management/commands/sync.py", line 185, in _process_build
build.number)
File "/home/dmitry/cloudify-cosmo/jetere/jetere/jenkins.py", line 50, in get_tests_report
% (resource, response.status_code))
IOError: Request for resource: "http://jenkins-master.gspaces.com:8080/job/dir_system-tests/job/system-tests/659/testReport/api/json" status code = 404

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.