1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Support some more jenkins statuses: notbuilt_anime, aborted, aborted_anime

This commit is contained in:
Gavin Shelley 2014-08-03 14:03:37 +01:00
parent 931233d003
commit 2f7178a698

View file

@ -66,7 +66,7 @@ my $wgetBin = "/usr/bin/wget";
my $type = basename($0); my $type = basename($0);
$type =~ s/jenkins_//; $type =~ s/jenkins_//;
my %states = ('blue' =>'stable', 'blue_anime' =>'stable', 'yellow'=>'unstable', 'yellow_anime'=>'unstable', 'red'=>'failing', 'red_anime'=>'failing', 'disabled'=>'disabled' ); my %states = ('blue' =>'stable', 'blue_anime' =>'stable', 'yellow'=>'unstable', 'yellow_anime'=>'unstable', 'red'=>'failing', 'red_anime'=>'failing', 'disabled'=>'disabled', 'notbuilt_anime' =>'disabled', 'aborted'=>'failing', 'aborted_anime'=>'failing' );
my %counts = ('blue' => 0, 'yellow'=>0, 'red'=>0, 'disabled'=>0); my %counts = ('blue' => 0, 'yellow'=>0, 'red'=>0, 'disabled'=>0);
if ( exists $ARGV[0] and $ARGV[0] eq "config" ) { if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {