RunCommand: emit the `finished` field as a boolean
[?]
Feb 25, 2021, 5:47 PM
Z4AMS3T7GA32FK6ERQ6VBSNLAJSJ5ETNKR3DULI2CXPAGBEUMQUACDependencies
- [2]
6ZXL5UOPAdd a plugin to execute arbitrary commands when a build finishes - [3]
3AKZKWCRRunCommand: Test - [4]
OAGCZHK6Allow for precisely one instance of RunCommand plugin - [5]
YIZWKGFItests: add jobsdir and testdir to ctx hash - [6]
E4TV6NH6RunCommand: pass homepage, description, license, system, and nixname
Change contents
- replacement in src/lib/Hydra/Plugin/RunCommand.pm at line 65
finished => $build->get_column('finished'),finished => $build->get_column('finished') ? JSON::true : JSON::false, - replacement in t/plugins/runcommand.t at line 56
is($dat->{finished}, 1, "The build finished.");is($dat->{finished}, JSON::true, "The build finished.");