Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
mjtest-tests
Commits
ffde2b74
Commit
ffde2b74
authored
Dec 12, 2021
by
I-Al-Istannen
Browse files
Limit flammenwehrfer's output length for github issues
Otherwise github sadly rejects the edit
parent
24c54c37
Pipeline
#181693
failed with stage
in 20 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flammenwehrfer.sh
View file @
ffde2b74
...
...
@@ -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
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment