Skip to content

Commit a4f12a6

Browse files
committed
make sure we echo the exit code
1 parent 0a4597f commit a4f12a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scaletest/templates/scaletest-runner/startup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ on_exit() {
131131
set_appearance "${appearance_json}" "${message_color}" "${service_banner_message} | Scaletest ${message_status}: [${CODER_USER}/${CODER_WORKSPACE}](${CODER_URL}/@${CODER_USER}/${CODER_WORKSPACE})!"
132132

133133
annotate_grafana_end "" "Start scaletest: ${SCALETEST_COMMENT}"
134+
135+
exit "${code}"
134136
}
135137
trap on_exit EXIT
136138

0 commit comments

Comments
 (0)