subject="Tests summary for $pattern"
to="build@onelab.eu"
buildhost="build.onelab.eu"
-distro=onelab
+distro=lxc
function builds () { manage -tv | grep $(today) | cut -d ' ' -f 3 ; }
function add_links () {
echo $line
# compute build and related distro
build=$(echo $line | cut -d' ' -f2)
- echo $build | grep -q lxc && bdistro=lxc || bdistro=$distro
+ echo $build | grep -q f14 && bdistro=onelab || bdistro=$distro
# write a one-line shorthand
echo " http://$buildhost/$bdistro/$build/"
done