Skip to content

Commit 82ce098

Browse files
committed
Handle wercker undefined variable
1 parent 05e8429 commit 82ce098

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wercker.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ integration-test:
8989
9090
function finish {
9191
exit_code=$?
92-
varname=${WERCKER_DEPLOYTARGET_NAME}
93-
export ${!varname}-result="$exit_code"
92+
export ${WERCKER_DEPLOYTARGET_NAME:-integration-test}-result="$exit_code"
9493
9594
cleanup_and_store
9695
exit 0

0 commit comments

Comments
 (0)