Commit 33a09bee authored by uxrog's avatar uxrog
Browse files

Merge branch 'fix/flammenwehrfer-test-successful-print' into 'master'

Print "Test successful" for other branches too

See merge request !65
parents 06507cf0 9b3fd526
Pipeline #195462 failed with stage
in 33 minutes and 56 seconds
......@@ -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!"
......
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