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
9b3fd526
Commit
9b3fd526
authored
Feb 05, 2022
by
I-Al-Istannen
Browse files
Print "Test successful" for other branches too
parent
06507cf0
Pipeline
#195386
failed with stage
in 27 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flammenwehrfer.sh
View file @
9b3fd526
...
...
@@ -42,6 +42,10 @@ MJ_EXIT_CODE="$?"
exec
3>&-
set
+o pipefail
if
[[
"
$MJ_EXIT_CODE
"
==
"0"
]]
;
then
echo
"Test successful"
fi
if
[[
"
$USE_FLAMMENWEHRFER
"
!=
1
]]
||
[[
"
$CI_COMMIT_BRANCH
"
!=
"master"
]]
;
then
echo
"Flammenwehrfer disabled, checked for branch '
$CI_COMMIT_BRANCH
'"
echo
-e
"Output:
\n
$MJ_OUTPUT
"
...
...
@@ -69,7 +73,7 @@ echo "Found $ISSUE_COUNT Github issue(s)"
# |____/ \__,_|\___\___\___||___/___/
#
if
[[
"
$MJ_EXIT_CODE
"
==
"0"
]]
;
then
echo
"Test successful"
echo
"Test
still
successful"
if
[[
"
$ISSUE_COUNT
"
>
0
]]
&&
[[
"
$(
echo
"
$FETCHED_ISSUES
"
| jq
".[0].state"
)
"
==
'"open"'
]]
;
then
ISSUE_NUMBER
=
"
$(
echo
"
$FETCHED_ISSUES
"
| jq
".[0].number"
)
"
echo
"Closing issue
$ISSUE_NUMBER
!"
...
...
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