task MD5 { | task MD5 { | ||||
File file | File file | ||||
String name = basename(file) | |||||
String docker | String docker | ||||
String cluster_config | String cluster_config | ||||
String disk_size | String disk_size | ||||
command <<< | command <<< | ||||
md5sum ${file} > $(basename ${file}.md5) | |||||
md5sum ${file} > ${name}.md5 | |||||
>>> | >>> | ||||
runtime { | runtime { | ||||
} | } | ||||
output { | output { | ||||
File MD5 = "$(basename ${file}.md5)" | |||||
File MD5 = "${name}.md5" | |||||
} | } | ||||
} | } |