fix output for jenkins and elastic