Don't use the Switch module
[?]
Mar 12, 2012, 7:41 PM
EUWLW7FYGZK4HKBA73SQDM4FWZGR5F6AGJW6WYZI2ECCIDWF5MRACDependencies
- [2]
HDMOHBZMHydra/57: Unknown failure -> Failed - [3]
YFPZ46YK* hydra: added variant of build input type, 'build output (same system)' to allow better continous integration in one jobset for multiple system. it makes sure that the system of the build that is passed as input for a job has the same system as the job. - [4]
7YBYT2LQ - [5]
OG7BEM57 - [6]
FHAVPTZ6Hydra/23: added some X-headers with meta info in email notifications, added more descriptive status - [7]
CXRCPDSQ* added support for twitter notification
Change contents
- replacement in src/script/hydra-build at line 20
use Switch;use feature qw/switch/; - replacement in src/script/hydra-build at line 64
switch ($buildstatus) {case 0 { $status = "Success"; }case 1 { $status = "Failed with non-zero exit code"; }case 2 { $status = "Dependency failed"; }case 4 { $status = "Cancelled"; }given ($buildstatus) {when (0) { $status = "Success"; }when (1) { $status = "Failed with non-zero exit code"; }when (2) { $status = "Dependency failed"; }when (4) { $status = "Cancelled"; }