@ -26,11 +26,11 @@ function cleanup {
}
}
trap cleanup EXIT
trap cleanup EXIT
git_branch = $( git rev-parse --abbrev-ref HEAD )
git_br = $( basename $GIT_BRANCH )
if [ $git_branch = = "master" ] ; then
if [ $git_br = = "master" ] ; then
git_branch = ""
git_br = ""
else
else
git_branch = "." $git_branch
git_br = "." $git_br
fi
fi
make clean
make clean
@ -156,7 +156,7 @@ function send_to_ods {
echo >& 2 " ERROR: Key $key doesn't have a value. "
echo >& 2 " ERROR: Key $key doesn't have a value. "
return
return
fi
fi
curl -s " https://www.intern.facebook.com/intern/agent/ods_set.php?entity=rocksdb_build $git_branch &key= $key &value= $value " \
curl -s " https://www.intern.facebook.com/intern/agent/ods_set.php?entity=rocksdb_build $git_br &key= $key &value= $value " \
--connect-timeout 60
--connect-timeout 60
}
}