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