1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-27 02:43:54 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2024-11-15 10:12:22 +03:00
parent bd34575ba8
commit 2d8d1cee91
16 changed files with 5601 additions and 5589 deletions

View File

@ -1286,6 +1286,10 @@ jobs:
- name: Common methods
if: ${{ cancelled() }} == false
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os "CLI_AWS_CommonMethods"
- name: Buckets managment
if: ${{ cancelled() }} == false
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os "CLI_AWS_BucketsManagment"

View File

@ -641,6 +641,10 @@ pipeline {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AWS_CommonMethods"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AWS_BucketsManagment"'
}

View File

@ -641,6 +641,10 @@ pipeline {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AWS_CommonMethods"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AWS_BucketsManagment"'
}

View File

@ -1,4 +1,4 @@
 URL = "storage-155.s3hoster.by";
 URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";

View File

@ -4,6 +4,6 @@
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Method = "GET";
Method = "GET";
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);

View File

@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "storage-155.s3hoster.by";
URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";

View File

@ -33,7 +33,7 @@ import TabItem from '@theme/TabItem';
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Method = "GET";
Method = "GET";
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);
```

View File

@ -4,6 +4,6 @@
Region = "BTC";
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
Метод = "GET";
Метод = "GET";
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);

View File

@ -1,6 +1,6 @@
 URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);

View File

@ -30,9 +30,9 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
```

View File

@ -33,7 +33,7 @@ import TabItem from '@theme/TabItem';
Region = "BTC";
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
Метод = "GET";
Метод = "GET";
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);
```

File diff suppressed because it is too large Load Diff

View File

@ -14633,7 +14633,7 @@ EndProcedure
Procedure S3_GetBasicDataStructure(FunctionParameters)
URL = FunctionParameters["S3_URL"];
URL = FunctionParameters["S3_URL"];
AccessKey = FunctionParameters["S3_AccessKey"];
SecretKey = FunctionParameters["S3_SecretKey"];
Region = "BTC";
@ -14654,7 +14654,7 @@ Procedure S3_SendRequestWithoutBody(FunctionParameters)
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Method = "GET";
Method = "GET";
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);

View File

@ -14633,7 +14633,7 @@ EndProcedure
Procedure S3_GetBasicDataStructure(FunctionParameters)
URL = FunctionParameters["S3_URL"];
URL = FunctionParameters["S3_URL"];
AccessKey = FunctionParameters["S3_AccessKey"];
SecretKey = FunctionParameters["S3_SecretKey"];
Region = "BTC";
@ -14654,7 +14654,7 @@ Procedure S3_SendRequestWithoutBody(FunctionParameters)
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Method = "GET";
Method = "GET";
Result = OPI_S3.SendRequestWithoutBody(Method, BasicData);

View File

@ -14634,9 +14634,9 @@
Процедура S3_ПолучитьСтруктуруДанных(ПараметрыФункции)
URL = ПараметрыФункции["S3_URL"];
AccessKey = ПараметрыФункции["S3_AccessKey"];
SecretKey = ПараметрыФункции["S3_SecretKey"];
Region = "BTC";
AccessKey = ПараметрыФункции["S3_AccessKey"];
SecretKey = ПараметрыФункции["S3_SecretKey"];
Region = "BTC";
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
@ -14654,7 +14654,7 @@
Region = "BTC";
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
Метод = "GET";
Метод = "GET";
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);

View File

@ -14634,9 +14634,9 @@
Процедура S3_ПолучитьСтруктуруДанных(ПараметрыФункции)
URL = ПараметрыФункции["S3_URL"];
AccessKey = ПараметрыФункции["S3_AccessKey"];
SecretKey = ПараметрыФункции["S3_SecretKey"];
Region = "BTC";
AccessKey = ПараметрыФункции["S3_AccessKey"];
SecretKey = ПараметрыФункции["S3_SecretKey"];
Region = "BTC";
Результат = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
@ -14654,7 +14654,7 @@
Region = "BTC";
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
Метод = "GET";
Метод = "GET";
Результат = OPI_S3.ОтправитьЗапросБезТела(Метод, ОсновныеДанные);