Commit fb2210ec authored by uxrog's avatar uxrog
Browse files

Merge branch 'fix/flammenwehrfer-output-length' into 'master'

Limit flammenwehrfer's output length for github issues

See merge request !49
parents ed45a073 ffde2b74
Pipeline #182545 failed with stage
in 21 minutes and 46 seconds
......@@ -87,6 +87,7 @@ fi
echo "Test failed"
echo -e "Output:\n$MJ_OUTPUT"
MJ_OUTPUT="$(echo "$MJ_OUTPUT" | head -c 60000)"
CODE_BLOCK_HEADER='```'
BODY="$BODY\n\n----\n\n<details>\n<summary>mjtest output</summary>\n\n$CODE_BLOCK_HEADER\n$MJ_OUTPUT\n$CODE_BLOCK_HEADER\n\n</details>"
BODY="$BODY\n\n----\n\n$CODE_BLOCK_HEADER\n$(fortune | cowsay -n)\n$CODE_BLOCK_HEADER"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment