Skip to content

Commit 18fece7

Browse files
authored
export ORB_STR_TASK_ARN as part of $BASH_ENV (#238)
* export ORB_STR_TASK_ARN as part of $BASH_ENV This PR exports the task to bash in the case you want to do something after it ended. For example check the logs for errors. * fixed quotes
1 parent 1b69d3b commit 18fece7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scripts/run_task.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ else
115115
set +x
116116
fi
117117

118+
echo "export ORB_STR_TASK_ARN='$ORB_STR_TASK_ARN'" >> "$BASH_ENV"
119+
118120
if [ "$ORB_BOOL_WAIT_TASK_STOPPED" == "1" ]; then
119121
if [ -z "${ORB_STR_TASK_ARN}" ]; then
120122
exit 1

0 commit comments

Comments
 (0)