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

lordgamez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit ed4a53a6e2151507f39c85dc5dc3b8755768d098
Author: Ferenc Gerlits <[email protected]>
AuthorDate: Tue Mar 18 13:47:00 2025 +0100

    MINIFICPP-2540 Fail early if the SFTP Test Server build is unsuccessful
    
    Signed-off-by: Gabor Gyimesi <[email protected]>
    
    This closes #1943
---
 extensions/sftp/tests/tools/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/sftp/tests/tools/CMakeLists.txt 
b/extensions/sftp/tests/tools/CMakeLists.txt
index b8cec7033..42ea70bc7 100644
--- a/extensions/sftp/tests/tools/CMakeLists.txt
+++ b/extensions/sftp/tests/tools/CMakeLists.txt
@@ -55,5 +55,5 @@ if("${mvn_result}" STREQUAL "0")
     message("Successfully built SFTPTestServer")
     message("${mvn_output}")
 else()
-    message("Maven failed ${mvn_result} ${mvn_output} ${mvn_error}")
+    message(FATAL_ERROR "Maven failed (exit code ${mvn_result}): ${mvn_output} 
${mvn_error}")
 endif()

Reply via email to