Skip to content

Commit cf66e67

Browse files
committed
add bash trap cmd
1 parent 6446381 commit cf66e67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.buildkite/scripts/steps/test/jest_integration.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ is_test_execution_step
1010

1111
echo '--- Log in to docker'
1212
echo "$KIBANA_DOCKER_PASSWORD" | docker login -u "$KIBANA_DOCKER_USERNAME" --password-stdin docker.elastic.co
13+
trap 'docker logout docker.elastic.co' EXIT
1314

1415

1516
echo '--- Jest Integration Tests'

0 commit comments

Comments
 (0)