mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-04-23 12:18:48 +02:00
Main build (Jenkins)
This commit is contained in:
parent
35811b0c72
commit
d3a93a656a
File diff suppressed because it is too large
Load Diff
@ -495,8 +495,6 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options) Export
|
|||||||
Result = ReadJSON(JSONReader, True);
|
Result = ReadJSON(JSONReader, True);
|
||||||
JSONReader.Close();
|
JSONReader.Close();
|
||||||
|
|
||||||
DeleteFiles(ResultFile);
|
|
||||||
|
|
||||||
Except
|
Except
|
||||||
|
|
||||||
Message(DetailErrorDescription(ErrorInfo()));
|
Message(DetailErrorDescription(ErrorInfo()));
|
||||||
@ -511,6 +509,12 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options) Export
|
|||||||
|
|
||||||
WriteCLICall(Library, Method, Options);
|
WriteCLICall(Library, Method, Options);
|
||||||
|
|
||||||
|
Try
|
||||||
|
DeleteFiles(ResultFile);
|
||||||
|
Except
|
||||||
|
Message("Failed to delete the temporary file after the test!");
|
||||||
|
EndTry;
|
||||||
|
|
||||||
Return Result;
|
Return Result;
|
||||||
|
|
||||||
EndFunction
|
EndFunction
|
||||||
|
@ -495,8 +495,6 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options) Export
|
|||||||
Result = ReadJSON(JSONReader, True);
|
Result = ReadJSON(JSONReader, True);
|
||||||
JSONReader.Close();
|
JSONReader.Close();
|
||||||
|
|
||||||
DeleteFiles(ResultFile);
|
|
||||||
|
|
||||||
Except
|
Except
|
||||||
|
|
||||||
Message(DetailErrorDescription(ErrorInfo()));
|
Message(DetailErrorDescription(ErrorInfo()));
|
||||||
@ -511,6 +509,12 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options) Export
|
|||||||
|
|
||||||
WriteCLICall(Library, Method, Options);
|
WriteCLICall(Library, Method, Options);
|
||||||
|
|
||||||
|
Try
|
||||||
|
DeleteFiles(ResultFile);
|
||||||
|
Except
|
||||||
|
Message("Failed to delete the temporary file after the test!");
|
||||||
|
EndTry;
|
||||||
|
|
||||||
Return Result;
|
Return Result;
|
||||||
|
|
||||||
EndFunction
|
EndFunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user