Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Quality Assurance and Testing

    jenkviz 0.3.1

    Download button

    No screenshots available
    Downloads: 76  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Benoit Delbosc | More programs
    GPL / FREE
    May 3rd, 2012, 22:13 GMT
    ROOT / Programming / Quality Assurance and Testing

     Read user reviews (0)  Refer to a friend  Subscribe

    jenkviz description

    Crawl a jenkins build and report stats and graphs about the build flow

    jenkviz is a visualization of a Jenkins build flow using graphviz.

    Tool to crawl a Jenkins site using a build url and producing a SVG output to render the build flow.

     The SVG graph displays: - A summary box with:

    - the total elapsed time
    - the cumulated duration for each build
    - a throughput (duration/elapsed)
    - number of builds

    - Black arrows to render upstream and downstream relation
    - Orange arrows to render downstream only relation
    - Build with a blue/yellow/red/gray box for Success/Unstable/Failed/Aborted build status

     Build information are stored in a local sqlite database. The database is used as a cache to not fetch twice a build page but also to get information using plain SQL:

     sqlite3 ~/jenkviz.db
     -- Slowest jobs
     sqlite> SELECT name, SUM(duration_s), MAX(duration_s), AVG(duration_s), COUNT(1)
     FROM build
     GROUP BY name
     ORDER BY SUM(duration_s) DESC
     LIMIT 10;
     -- Slave load
     sqlite> SELECT host, SUM(duration_s) FROM build GROUP BY host ORDER BY SUM(duration_s) DESC LIMIT 10;


    USAGE

     jenkviz [--version] [--logfile=LOGFILE] [--database=DATABASE] COMMAND [OPTIONS] ARGUMENTS

     jenkviz -h

    COMMANDS

     crawl [--direct|--reverse|--explore] [--output SVG_FILE] JENKINS_BUILD_URL

     The --direct option shows only downstream and upstream relation, removing downstream only link.

     The --reverse option crawl backward using upstream builds.

     The --explore option to keep downstream builds that have upstream build out of the scope of the origin build (the upstream build is not a descendant of the root build)

    EXAMPLES

     jenkviz crawl http://jenkins.site/jenkviz/job_name/42/

    INSTALLATION

     On Debian/Ubuntu:

     sudo aptitude install graphviz
     sudo easy_install jenkviz


    SOURCE REPOSITORY

     Jenkviz is currently hosted at github.

    ISSUES AND BUG REPORTS

     Feature requests and bug reports can be made here:

     https://github.com/bdelbosc/jenkviz/issues


    Product's homepage

    Requirements:

    · Python

    Limitations:

    · Due to JENKINS-6211 bug, this works only for maven job because current Jenkins (at least 1.444) don't display build number for downstream builds for freestyle jobs or non maven jobs.

    · Also sometime downstream build number is None and it stops the crawling, in this case Jenkins don't give any way to go directly to the downstream builds.

    · At the moment Jenkviz don't handle build with multiple upstream builds, only taking care of the first one.

      


    TAGS:

    crawl build | report stats | jenkins build | crawl | jenkins | build



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM