hydra/src/lib/Hydra
Austin Seipp 4166974657 hydra: add Coverity Scan plugin
This adds a Hydra plugin for users to submit their open source projects
to the Coverity Scan system for analysis.

First, add a <coverityscan> section to your Hydra config, including the
access token, project name, and email, and a regex specifying jobs to
upload:

    <coverityscan>
      project = testrix
      jobs    = foobar:.*:coverity.*
      email   = aseipp@pobox.com
      token   = ${builtins.readFile ./coverity-token}
    </coverityscan>

This will upload the scan results for any job whose name matches
'coverity.*' in any jobset in the Hydra 'foobar' project, for the
Coverity Scan project named 'testrix'.

Note that one upload will occur per job matched by the regular
expression - so be careful with how many builds you upload.

The jobs which are matched by the jobs specification must have a file in
their output path of the form:

  $out/tarballs/...-cov-int.(xz|lzma|zip|bz2|tgz)

The file must have the 'cov-int' directory produced by `cov-build` in
the root.

(You can also output something into
$out/nix-support/hydra-build-products for the Hydra UI.)

This file will be found in the store, and uploaded to the service
directly using your access credentials. Note the exact extension: don't
use .tar.xz, only use .xz specifically.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-05-02 14:15:25 -05:00
..
Base/Controller Return 410 Gone (rather than 500) if an output is no longer available 2014-02-26 11:38:02 +01:00
Component Get rid of old ToJSON code path 2013-10-25 11:09:11 -04:00
Controller Fix cloning jobsets 2014-04-30 09:26:53 +02:00
Helper Return 410 Gone (rather than 500) if an output is no longer available 2014-02-26 11:38:02 +01:00
Model Turn prepared statements back on 2013-02-25 21:20:52 +01:00
Plugin hydra: add Coverity Scan plugin 2014-05-02 14:15:25 -05:00
Schema Remove support for views 2014-04-23 23:22:44 +02:00
Script Use CatalystX::Script::Server::Starman 2011-11-22 16:44:32 +01:00
View Show whether a job still exists 2014-04-08 18:50:37 +02:00
Plugin.pm Pass project and jobset to fetchInput 2013-07-29 15:33:22 -04:00
Schema.pm Keep track of the database schema version 2011-12-05 14:29:29 +01:00