fixed mistake due to copy-paste

This commit is contained in:
Karma Riuk
2025-03-01 12:40:47 +01:00
parent 25aea57f60
commit c141b4add9

View File

@ -146,9 +146,9 @@ def compile_repo(build_file: str, container, updates: dict) -> bool:
def test_repo(build_file: str, container, updates: dict) -> bool: def test_repo(build_file: str, container, updates: dict) -> bool:
if build_file.endswith("pom.xml") or build_file.endswith("build.xml"): if build_file.endswith("pom.xml") or build_file.endswith("build.xml"):
test_cmd = "mvn clean compile" test_cmd = "mvn test"
elif build_file.endswith("build.gradle"): elif build_file.endswith("build.gradle"):
test_cmd = "gradle compileJava" test_cmd = "gradle test"
else: else:
updates["error_msg"] = "Unsupported build system for testing: " + build_file updates["error_msg"] = "Unsupported build system for testing: " + build_file
return False return False