mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-17 21:08:03 +02:00
Main build (Jenkins)
This commit is contained in:
parent
2eecf30935
commit
52bc29909a
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);
|
||||
JSONReader.Close();
|
||||
|
||||
DeleteFiles(ResultFile);
|
||||
|
||||
Except
|
||||
|
||||
Message(DetailErrorDescription(ErrorInfo()));
|
||||
@ -511,6 +509,12 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options) Export
|
||||
|
||||
WriteCLICall(Library, Method, Options);
|
||||
|
||||
Try
|
||||
DeleteFiles(ResultFile);
|
||||
Except
|
||||
Message("Failed to delete the temporary file after the test!");
|
||||
EndTry;
|
||||
|
||||
Return Result;
|
||||
|
||||
EndFunction
|
||||
|
@ -495,8 +495,6 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options) Export
|
||||
Result = ReadJSON(JSONReader, True);
|
||||
JSONReader.Close();
|
||||
|
||||
DeleteFiles(ResultFile);
|
||||
|
||||
Except
|
||||
|
||||
Message(DetailErrorDescription(ErrorInfo()));
|
||||
@ -511,6 +509,12 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options) Export
|
||||
|
||||
WriteCLICall(Library, Method, Options);
|
||||
|
||||
Try
|
||||
DeleteFiles(ResultFile);
|
||||
Except
|
||||
Message("Failed to delete the temporary file after the test!");
|
||||
EndTry;
|
||||
|
||||
Return Result;
|
||||
|
||||
EndFunction
|
||||
|
@ -508,7 +508,7 @@
|
||||
КонецПопытки;
|
||||
|
||||
ЗаписатьВызовCLI(Библиотека, Метод, Опции);
|
||||
|
||||
|
||||
Попытка
|
||||
УдалитьФайлы(ФайлРезультата);
|
||||
Исключение
|
||||
@ -1935,9 +1935,9 @@
|
||||
КонецФункции
|
||||
|
||||
Функция ПолучитьОбщийМодуль(Знач Имя)
|
||||
|
||||
|
||||
Модуль = Вычислить(Имя);
|
||||
|
||||
|
||||
Возврат Модуль;
|
||||
КонецФункции
|
||||
|
||||
|
@ -508,7 +508,7 @@
|
||||
КонецПопытки;
|
||||
|
||||
ЗаписатьВызовCLI(Библиотека, Метод, Опции);
|
||||
|
||||
|
||||
Попытка
|
||||
УдалитьФайлы(ФайлРезультата);
|
||||
Исключение
|
||||
|
Loading…
x
Reference in New Issue
Block a user