Commit 49f19419 authored by mamunozgil's avatar mamunozgil
Browse files

submissionDirectory path fix

No related merge requests found
Pipeline #10902 passed with stage
in 21 seconds
Showing with 1 addition and 1 deletion
+1 -1
......@@ -50,7 +50,7 @@ public class ExecuteTestUtil {
public ResultSummary runTests(String assignmentId, Path workDirectory) throws IOException, InterruptedException {
// Define paths for the submission-specific directories
String submissionDirectory = this.basePathStudentsSubmissionCode + workDirectory.getFileName(); // /dta-test-assignments/dta-submissionID
String submissionDirectory = Paths.get(basePathStudentsSubmissionCode, workDirectory.getFileName().toString()).toString();
Path testPath = Paths.get(submissionDirectory, "test");
Path srcPath = Paths.get(submissionDirectory, "src");
Path resultPath = Paths.get(submissionDirectory, "result");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment