Skip to content

Commit

Permalink
Fix tc_retry return status
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Nov 16, 2020
1 parent 4f4b9ef commit ff13a52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/teamcity/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ tc_retry() {
echo "##teamcity[setParameter name='elastic.build.flaky' value='true']"
tc_end_block "Retryable Step - Attempt #2"
else
status="$?"
tc_end_block "Retryable Step - Attempt #2"
return "$?"
return "$status"
fi
}
tc_end_block "Retryable Step - Attempt #1"
Expand Down

0 comments on commit ff13a52

Please sign in to comment.