Print jobset name when evaluator fails
This commit is contained in:
parent
d317e2d49a
commit
35a67d19ba
1 changed files with 2 additions and 1 deletions
|
@ -370,7 +370,8 @@ sub checkSomeJobset {
|
||||||
if (scalar @ARGV == 2) {
|
if (scalar @ARGV == 2) {
|
||||||
my $projectName = $ARGV[0];
|
my $projectName = $ARGV[0];
|
||||||
my $jobsetName = $ARGV[1];
|
my $jobsetName = $ARGV[1];
|
||||||
my $jobset = $db->resultset('Jobsets')->find($projectName, $jobsetName) or die "$0: specified jobset does not exist\n";
|
my $jobset = $db->resultset('Jobsets')->find($projectName, $jobsetName) or
|
||||||
|
die "$0: specified jobset \"$projectName:$jobsetName\" does not exist\n";
|
||||||
exit checkJobset($jobset);
|
exit checkJobset($jobset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue