This is an automated email from the ASF dual-hosted git repository.

wangyang0918 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 54ed407  [FLINK-24937][e2e] Return correct exit code in build_image
54ed407 is described below

commit 54ed407318004a9ae2107f8cffc086011c127906
Author: wangyang0918 <[email protected]>
AuthorDate: Thu Nov 18 11:02:10 2021 +0800

    [FLINK-24937][e2e] Return correct exit code in build_image
    
    This closes #17823.
---
 flink-end-to-end-tests/test-scripts/common_docker.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flink-end-to-end-tests/test-scripts/common_docker.sh 
b/flink-end-to-end-tests/test-scripts/common_docker.sh
index 4690030..cc4010a 100644
--- a/flink-end-to-end-tests/test-scripts/common_docker.sh
+++ b/flink-end-to-end-tests/test-scripts/common_docker.sh
@@ -54,7 +54,9 @@ function build_image() {
 
     echo "Building images"
     run_with_timeout 600 docker build --no-cache --network="host" -t 
${image_name} dev/${image_name}-debian
+    local build_image_result=$?
     popd
+    return $build_image_result
 }
 
 function start_file_server() {

Reply via email to