Fix build-queued plugin hook

[?]
May 24, 2017, 2:38 PM
JQQYF4S3QIDRZMONBYMSUOHLZWK5T6FB6TG73ZK56W73VVDC5FPAC

Dependencies

  • [2] LAJHRL6O Fix tests
  • [3] PXTSKX4G Add buildQueued plugin hook
  • [4] IMQRX4MP hydra-eval-jobs: Use JSON instead of XML
  • [5] S6OISBQ3 * Mark the "current" builds in a jobset, i.e. those corresponding to
  • [6] RXVJFQ5A Evaluator cleanups
  • [7] N22GPKYT * Put info about logs / build products in the DB.
  • [8] RFE6T5LG * Store jobset evaluations in the database explicitly. This includes
  • [9] FTPCV25M Store aggregate members in the database
  • [10] VU2OLHD2 Move most of AddBuilds to hydra-eval-jobset
  • [*] S5PV6IIM * Represent jobs explicitly in the DB.
  • [*] LZO3C2KI * Hack around those SQLite timeouts: just retry the transaction.
  • [*] NS7SND6R hydra-evaluator: Send statistics to statsd

Change contents

  • edit in src/script/hydra-eval-jobset at line 474
    [3.16911][2.0:150]()
    system("hydra-notify build-queued " . $build->id)
    if defined $build && defined $buildMap->{$build->id} && $buildMap->{$build->id}->{new};
  • edit in src/script/hydra-eval-jobset at line 640
    [12.5888]
    [13.1601]
    my %buildMap;
  • edit in src/script/hydra-eval-jobset at line 651
    [3.5628][3.4483:4505]()
    my %buildMap;
  • edit in src/script/hydra-eval-jobset at line 739
    [14.1184]
    [14.1184]
    while (my ($id, $x) = each %buildMap) {
    system("hydra-notify build-queued $id") if $x->{new};
    }