You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -205,7 +205,7 @@ ___
|
||||
<summary>Синопсис</summary>
|
||||
<br>
|
||||
|
||||
Этот проект предоставляет библиотеку для интеграции 1С:Предприятие, OneScript и CLI с внешними сервисами через REST API и другие протоколы. Благодаря представленным в ней методам вы можете работать в экосистеме 1С:Предприятие с такими сервисами и технологиями как: Airtable, Bitrix24, CDEK, Dropbox, FTP, Google Calendar, Google Drive, Google Sheets, Green API, MongoDB, MSSQL, MySQL, Neocities, Notion, PostgreSQL, RCON, ReportPortal, S3, SFTP, Slack, SQLite, SSH, TCP, Telegram, Twitter, Viber, VK, VKTeams, Yandex Disk, Green Max
|
||||
Этот проект предоставляет библиотеку для интеграции 1С:Предприятие, OneScript и CLI с внешними сервисами через REST API и другие протоколы. Благодаря представленным в ней методам вы можете работать в экосистеме 1С:Предприятие с такими сервисами и технологиями как: Airtable, Bitrix24, CDEK, Dropbox, FTP, Google Calendar, Google Drive, Google Sheets, Green API, Green Max, MongoDB, MSSQL, MySQL, Neocities, Notion, PostgreSQL, RCON, ReportPortal, S3, SFTP, Slack, SQLite, SSH, TCP, Telegram, Twitter, Viber, VK, VKTeams, Yandex Disk
|
||||
|
||||
Существуют варианты поставки в виде расширения (.cfe, XML, EDT), OPM-пакета и других пакетов для разных операционных систем. Версия 1С: 8.3.10. Подходит для любых конфигураций, не использует БСП
|
||||
|
||||
|
||||
96
ci/1c_test_en
vendored
96
ci/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Telegram.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Telegram.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -66,7 +66,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/VK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\VK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -96,7 +96,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Viber.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Viber.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -126,7 +126,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Twitter.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Twitter.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -156,7 +156,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/FTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\FTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -186,7 +186,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/SSH.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\SSH.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -216,7 +216,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/SFTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\SFTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -246,7 +246,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/PostgreSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\PostgreSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -276,7 +276,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/MySQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\MySQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -306,7 +306,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/MSSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\MSSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -336,7 +336,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/SQLite.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\SQLite.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -366,7 +366,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/RCON.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\RCON.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -396,7 +396,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/YandexDisk.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\YandexDisk.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -426,7 +426,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleWorkspace.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleWorkspace.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -456,7 +456,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleCalendar.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleCalendar.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -486,7 +486,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleDrive.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleDrive.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -516,7 +516,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleSheets.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleSheets.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -546,7 +546,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Notion.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Notion.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -576,7 +576,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Slack.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Slack.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -606,7 +606,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Airtable.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Airtable.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -636,7 +636,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Dropbox.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Dropbox.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -666,7 +666,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Bitrix24.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Bitrix24.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -696,7 +696,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/VkTeams.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\VkTeams.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -726,7 +726,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Neocities.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Neocities.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -756,7 +756,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/CDEK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\CDEK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -786,7 +786,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/YandexMetrika.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\YandexMetrika.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -816,7 +816,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/S3.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\S3.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -846,7 +846,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/TCP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\TCP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -876,7 +876,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GreenAPI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GreenAPI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -901,12 +901,42 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GreenMax.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
fileExists './test_results/GreenMax.code'
|
||||
}
|
||||
}
|
||||
|
||||
def exitCode = readFile('./test_results/GreenMax.code').trim()
|
||||
if (exitCode != "0") {
|
||||
error "Tests failed with exit code: ${exitCode}"
|
||||
}
|
||||
|
||||
if (fileExists('./test_results/GreenMax.report')) {
|
||||
def reportContent = readFile('./test_results/GreenMax.report')
|
||||
echo "=== report content ==="
|
||||
echo reportContent
|
||||
echo "=========================="
|
||||
} else {
|
||||
echo "WARNING: GreenMax.report file not found"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Ollama.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Ollama.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -936,7 +966,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/HTTPClient.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\HTTPClient.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -966,7 +996,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/OpenAI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\OpenAI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -996,7 +1026,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/ReportPortal.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\ReportPortal.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
96
ci/1c_test_ru
vendored
96
ci/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Telegram.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Telegram.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -66,7 +66,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/VK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\VK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -96,7 +96,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Viber.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Viber.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -126,7 +126,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Twitter.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Twitter.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -156,7 +156,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/FTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\FTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -186,7 +186,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/SSH.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\SSH.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -216,7 +216,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/SFTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\SFTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -246,7 +246,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/PostgreSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\PostgreSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -276,7 +276,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/MySQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\MySQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -306,7 +306,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/MSSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\MSSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -336,7 +336,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/SQLite.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\SQLite.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -366,7 +366,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/RCON.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\RCON.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -396,7 +396,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/YandexDisk.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\YandexDisk.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -426,7 +426,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleWorkspace.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleWorkspace.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -456,7 +456,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleCalendar.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleCalendar.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -486,7 +486,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleDrive.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleDrive.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -516,7 +516,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleSheets.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleSheets.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -546,7 +546,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Notion.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Notion.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -576,7 +576,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Slack.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Slack.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -606,7 +606,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Airtable.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Airtable.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -636,7 +636,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Dropbox.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Dropbox.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -666,7 +666,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Bitrix24.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Bitrix24.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -696,7 +696,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/VkTeams.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\VkTeams.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -726,7 +726,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Neocities.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Neocities.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -756,7 +756,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/CDEK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\CDEK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -786,7 +786,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/YandexMetrika.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\YandexMetrika.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -816,7 +816,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/S3.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\S3.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -846,7 +846,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/TCP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\TCP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -876,7 +876,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GreenAPI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GreenAPI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -901,12 +901,42 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GreenMax.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
fileExists './test_results/GreenMax.code'
|
||||
}
|
||||
}
|
||||
|
||||
def exitCode = readFile('./test_results/GreenMax.code').trim()
|
||||
if (exitCode != "0") {
|
||||
error "Tests failed with exit code: ${exitCode}"
|
||||
}
|
||||
|
||||
if (fileExists('./test_results/GreenMax.report')) {
|
||||
def reportContent = readFile('./test_results/GreenMax.report')
|
||||
echo "=== report content ==="
|
||||
echo reportContent
|
||||
echo "=========================="
|
||||
} else {
|
||||
echo "WARNING: GreenMax.report file not found"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Ollama.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Ollama.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -936,7 +966,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/HTTPКлиент.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\HTTPКлиент.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -966,7 +996,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/OpenAI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\OpenAI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
@@ -996,7 +1026,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/ReportPortal.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\ReportPortal.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
7
ci/cli_deb_test_en
vendored
7
ci/cli_deb_test_en
vendored
@@ -601,6 +601,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/cli_deb_test_ru
vendored
7
ci/cli_deb_test_ru
vendored
@@ -601,6 +601,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/cli_rpm_test_en
vendored
7
ci/cli_rpm_test_en
vendored
@@ -600,6 +600,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/cli_rpm_test_ru
vendored
7
ci/cli_rpm_test_ru
vendored
@@ -600,6 +600,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/cli_test_en
vendored
7
ci/cli_test_en
vendored
@@ -680,6 +680,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/cli_test_ru
vendored
7
ci/cli_test_ru
vendored
@@ -680,6 +680,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/os_deb_test_en
vendored
7
ci/os_deb_test_en
vendored
@@ -610,6 +610,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/os_deb_test_ru
vendored
7
ci/os_deb_test_ru
vendored
@@ -610,6 +610,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/os_rpm_test_en
vendored
7
ci/os_rpm_test_en
vendored
@@ -610,6 +610,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/os_rpm_test_ru
vendored
7
ci/os_rpm_test_ru
vendored
@@ -610,6 +610,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/os_test_en
vendored
7
ci/os_test_en
vendored
@@ -608,6 +608,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
7
ci/os_test_ru
vendored
7
ci/os_test_ru
vendored
@@ -608,6 +608,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
2
ci/split_tests/Airtable/1c_test_en
vendored
2
ci/split_tests/Airtable/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Airtable.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Airtable.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Airtable/1c_test_ru
vendored
2
ci/split_tests/Airtable/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Airtable.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Airtable.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Bitrix24/1c_test_en
vendored
2
ci/split_tests/Bitrix24/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Bitrix24.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Bitrix24.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Bitrix24/1c_test_ru
vendored
2
ci/split_tests/Bitrix24/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Bitrix24.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Bitrix24.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/CDEK/1c_test_en
vendored
2
ci/split_tests/CDEK/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/CDEK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\CDEK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/CDEK/1c_test_ru
vendored
2
ci/split_tests/CDEK/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/CDEK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\CDEK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Dropbox/1c_test_en
vendored
2
ci/split_tests/Dropbox/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Dropbox.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Dropbox.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Dropbox/1c_test_ru
vendored
2
ci/split_tests/Dropbox/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Dropbox.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Dropbox.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/FTP/1c_test_en
vendored
2
ci/split_tests/FTP/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/FTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\FTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/FTP/1c_test_ru
vendored
2
ci/split_tests/FTP/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/FTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\FTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleCalendar/1c_test_en
vendored
2
ci/split_tests/GoogleCalendar/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleCalendar.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleCalendar.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleCalendar/1c_test_ru
vendored
2
ci/split_tests/GoogleCalendar/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleCalendar.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleCalendar.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleDrive/1c_test_en
vendored
2
ci/split_tests/GoogleDrive/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleDrive.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleDrive.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleDrive/1c_test_ru
vendored
2
ci/split_tests/GoogleDrive/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleDrive.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleDrive.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleSheets/1c_test_en
vendored
2
ci/split_tests/GoogleSheets/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleSheets.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleSheets.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleSheets/1c_test_ru
vendored
2
ci/split_tests/GoogleSheets/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleSheets.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleSheets.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleWorkspace/1c_test_en
vendored
2
ci/split_tests/GoogleWorkspace/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GoogleWorkspace.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GoogleWorkspace.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GoogleWorkspace/1c_test_ru
vendored
2
ci/split_tests/GoogleWorkspace/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GoogleWorkspace.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GoogleWorkspace.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GreenAPI/1c_test_en
vendored
2
ci/split_tests/GreenAPI/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/GreenAPI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GreenAPI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/GreenAPI/1c_test_ru
vendored
2
ci/split_tests/GreenAPI/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/GreenAPI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GreenAPI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
75
ci/split_tests/GreenMax/1c_test_en
vendored
Normal file
75
ci/split_tests/GreenMax/1c_test_en
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Prepare Test Results Directory') {
|
||||
steps {
|
||||
script {
|
||||
runCommand '''
|
||||
if exist ".\\test_results" (
|
||||
rmdir /s /q ".\\test_results"
|
||||
)
|
||||
mkdir ".\\test_results"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/rp_start.os "1C:Enterprise"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\GreenMax.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
fileExists './test_results/GreenMax.code'
|
||||
}
|
||||
}
|
||||
|
||||
def exitCode = readFile('./test_results/GreenMax.code').trim()
|
||||
if (exitCode != "0") {
|
||||
error "Tests failed with exit code: ${exitCode}"
|
||||
}
|
||||
|
||||
if (fileExists('./test_results/GreenMax.report')) {
|
||||
def reportContent = readFile('./test_results/GreenMax.report')
|
||||
echo "=== report content ==="
|
||||
echo reportContent
|
||||
echo "=========================="
|
||||
} else {
|
||||
echo "WARNING: GreenMax.report file not found"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "en"')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
75
ci/split_tests/GreenMax/1c_test_ru
vendored
Normal file
75
ci/split_tests/GreenMax/1c_test_ru
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Prepare Test Results Directory') {
|
||||
steps {
|
||||
script {
|
||||
runCommand '''
|
||||
if exist ".\\test_results" (
|
||||
rmdir /s /q ".\\test_results"
|
||||
)
|
||||
mkdir ".\\test_results"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/rp_start.os "1C:Enterprise"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\GreenMax.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
fileExists './test_results/GreenMax.code'
|
||||
}
|
||||
}
|
||||
|
||||
def exitCode = readFile('./test_results/GreenMax.code').trim()
|
||||
if (exitCode != "0") {
|
||||
error "Tests failed with exit code: ${exitCode}"
|
||||
}
|
||||
|
||||
if (fileExists('./test_results/GreenMax.report')) {
|
||||
def reportContent = readFile('./test_results/GreenMax.report')
|
||||
echo "=== report content ==="
|
||||
echo reportContent
|
||||
echo "=========================="
|
||||
} else {
|
||||
echo "WARNING: GreenMax.report file not found"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "ru"')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
87
ci/split_tests/GreenMax/cli_deb_test_en
vendored
Normal file
87
ci/split_tests/GreenMax/cli_deb_test_en
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
// Удаляем oint, если он установлен
|
||||
sh 'dpkg -r oint || echo "oint not installed"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Download oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Скачиваем новый deb-пакет oint
|
||||
sh 'wget -O oint_1.28.0_all_en.deb https://jenkins.openintegrations.dev/job/OpiBuild/job/OpiRelease/lastSuccessfulBuild/artifact/1.28.0/oint_1.28.0_all_en.deb '
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Устанавливаем скаченный пакет
|
||||
sh 'dpkg -i oint_1.28.0_all_en.deb'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/en/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os "CLI"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "en"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
87
ci/split_tests/GreenMax/cli_deb_test_ru
vendored
Normal file
87
ci/split_tests/GreenMax/cli_deb_test_ru
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
// Удаляем oint, если он установлен
|
||||
sh 'dpkg -r oint || echo "oint not installed"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Download oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Скачиваем новый deb-пакет oint
|
||||
sh 'wget -O oint_1.28.0_all_ru.deb https://jenkins.openintegrations.dev/job/OpiBuild/job/OpiRelease/lastSuccessfulBuild/artifact/1.28.0/oint_1.28.0_all_ru.deb '
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Устанавливаем скаченный пакет
|
||||
sh 'dpkg -i oint_1.28.0_all_ru.deb'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/ru/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os "CLI"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "ru"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
86
ci/split_tests/GreenMax/cli_rpm_test_en
vendored
Normal file
86
ci/split_tests/GreenMax/cli_rpm_test_en
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
// Удаляем oint, если он установлен
|
||||
sh 'rpm -e oint || echo "oint not installed"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Download oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Скачиваем новый rpm-пакет oint
|
||||
sh 'wget -O oint-1.28.0-1.noarch_en.rpm https://jenkins.openintegrations.dev/job/OpiBuild/job/OpiRelease/lastSuccessfulBuild/artifact/1.28.0/oint-1.28.0-1.noarch_en.rpm '
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Устанавливаем скаченный пакет
|
||||
sh 'rpm -ivh --replacepkgs oint-1.28.0-1.noarch_en.rpm'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/en/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os "CLI"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "en"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
86
ci/split_tests/GreenMax/cli_rpm_test_ru
vendored
Normal file
86
ci/split_tests/GreenMax/cli_rpm_test_ru
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
// Удаляем oint, если он установлен
|
||||
sh 'rpm -e oint || echo "oint not installed"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Download oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Скачиваем новый rpm-пакет oint
|
||||
sh 'wget -O oint-1.28.0-1.noarch_ru.rpm https://jenkins.openintegrations.dev/job/OpiBuild/job/OpiRelease/lastSuccessfulBuild/artifact/1.28.0/oint-1.28.0-1.noarch_ru.rpm '
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install oint package') {
|
||||
steps {
|
||||
script {
|
||||
// Устанавливаем скаченный пакет
|
||||
sh 'rpm -ivh --replacepkgs oint-1.28.0-1.noarch_ru.rpm'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/ru/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os "CLI"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "ru"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
166
ci/split_tests/GreenMax/cli_test_en
vendored
Normal file
166
ci/split_tests/GreenMax/cli_test_en
vendored
Normal file
@@ -0,0 +1,166 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
stage('Decrypt Data') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.28.0.ospx; del oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'gpg --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint.bat if exists') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files\\OneScript\\bin\\oint.bat"
|
||||
if (Test-Path $batFile) {
|
||||
Remove-Item -Path $batFile -Force
|
||||
Write-Host "Файл oint.bat удален."
|
||||
} else {
|
||||
Write-Host "Файл oint.bat не найден, пропускаем удаление."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что файл действительно удален
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files\\OneScript\\bin\\oint.bat"
|
||||
if (Test-Path $batFile) {
|
||||
Write-Error "Ошибка: Файл oint.bat не удален!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: oint.bat успешно удален или отсутствовал."
|
||||
}
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Uninstall OInt if installed') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$uninstallerPath = "C:\\Program Files (x86)\\OInt\\unins000.exe"
|
||||
if (Test-Path $uninstallerPath) {
|
||||
Write-Host "OInt найден. Запускаем удаление..."
|
||||
Start-Process -FilePath $uninstallerPath -ArgumentList "/VERYSILENT /NORESTART" -Wait
|
||||
Write-Host "Удаление OInt завершено."
|
||||
} else {
|
||||
Write-Host "OInt не установлен. Пропускаем этап удаления."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что oint.bat в C:\Program Files (x86)\OInt\bin\oint.bat удален
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files (x86)\\OInt\\bin\\oint.bat"
|
||||
if (Test-Path $batFile) {
|
||||
Write-Error "Ошибка: oint.bat всё ещё существует после uninstall!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: oint.bat после uninstall отсутствует."
|
||||
}
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare Download Dir') {
|
||||
steps {
|
||||
bat 'if not exist "%USERPROFILE%\\Downloads" mkdir "%USERPROFILE%\\Downloads"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Download Installer') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$url = "https://jenkins.openintegrations.dev/job/OpiBuild/job/OpiRelease/lastSuccessfulBuild/artifact/1.28.0/oint_1.28.0_installer_en.exe "
|
||||
$output = "$env:USERPROFILE\\Downloads\\oint_installer.exe"
|
||||
Invoke-WebRequest -Uri $url -OutFile $output
|
||||
Write-Host "Инсталлер скачан в: $output"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install OInt') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$installerPath = "$env:USERPROFILE\\Downloads\\oint_installer.exe"
|
||||
Write-Host "Запускаем установку: $installerPath"
|
||||
Start-Process -FilePath $installerPath -ArgumentList "/VERYSILENT /NORESTART" -NoNewWindow -Wait
|
||||
Write-Host "Установка завершена."
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Verify Installation') {
|
||||
steps {
|
||||
// Проверяем наличие oint.bat в C:\Program Files (x86)\OInt\bin\
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files (x86)\\OInt\\bin\\oint.bat"
|
||||
if (-not (Test-Path $batFile)) {
|
||||
Write-Error "Ошибка: oint.bat не найден после установки!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: oint.bat найден после установки."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что where oint выводит нужный путь
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$result = (Get-Command oint -ErrorAction SilentlyContinue).Source
|
||||
$expectedPath = "C:\\Program Files (x86)\\OInt\\bin\\oint.bat"
|
||||
|
||||
if ($result -ne $expectedPath) {
|
||||
Write-Error "Ошибка: Команда 'where oint' указывает не на тот путь: $result"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: 'where oint' указывает на правильный путь: $result"
|
||||
}
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/rp_start.os "CLI"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "en"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'del "./data.json.gpg"'
|
||||
bat encoding: 'UTF-8', script:'gpg --batch --symmetric --cipher-algo AES256 --passphrase="%GPGKEY%" ./data.json'
|
||||
bat encoding: 'UTF-8', script:'del "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
bat "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
bat 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
bat "git config --global core.ignorecase true"
|
||||
bat "git add ."
|
||||
bat 'git commit -m "Test data update (Jenkins)"'
|
||||
bat "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
166
ci/split_tests/GreenMax/cli_test_ru
vendored
Normal file
166
ci/split_tests/GreenMax/cli_test_ru
vendored
Normal file
@@ -0,0 +1,166 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
stage('Decrypt Data') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.28.0.ospx; del oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'gpg --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint.bat if exists') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files\\OneScript\\bin\\oint.bat"
|
||||
if (Test-Path $batFile) {
|
||||
Remove-Item -Path $batFile -Force
|
||||
Write-Host "Файл oint.bat удален."
|
||||
} else {
|
||||
Write-Host "Файл oint.bat не найден, пропускаем удаление."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что файл действительно удален
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files\\OneScript\\bin\\oint.bat"
|
||||
if (Test-Path $batFile) {
|
||||
Write-Error "Ошибка: Файл oint.bat не удален!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: oint.bat успешно удален или отсутствовал."
|
||||
}
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Uninstall OInt if installed') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$uninstallerPath = "C:\\Program Files (x86)\\OInt\\unins000.exe"
|
||||
if (Test-Path $uninstallerPath) {
|
||||
Write-Host "OInt найден. Запускаем удаление..."
|
||||
Start-Process -FilePath $uninstallerPath -ArgumentList "/VERYSILENT /NORESTART" -Wait
|
||||
Write-Host "Удаление OInt завершено."
|
||||
} else {
|
||||
Write-Host "OInt не установлен. Пропускаем этап удаления."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что oint.bat в C:\Program Files (x86)\OInt\bin\oint.bat удален
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files (x86)\\OInt\\bin\\oint.bat"
|
||||
if (Test-Path $batFile) {
|
||||
Write-Error "Ошибка: oint.bat всё ещё существует после uninstall!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: oint.bat после uninstall отсутствует."
|
||||
}
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare Download Dir') {
|
||||
steps {
|
||||
bat 'if not exist "%USERPROFILE%\\Downloads" mkdir "%USERPROFILE%\\Downloads"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Download Installer') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$url = "https://jenkins.openintegrations.dev/job/OpiBuild/job/OpiRelease/lastSuccessfulBuild/artifact/1.28.0/oint_1.28.0_installer_ru.exe "
|
||||
$output = "$env:USERPROFILE\\Downloads\\oint_installer.exe"
|
||||
Invoke-WebRequest -Uri $url -OutFile $output
|
||||
Write-Host "Инсталлер скачан в: $output"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install OInt') {
|
||||
steps {
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$installerPath = "$env:USERPROFILE\\Downloads\\oint_installer.exe"
|
||||
Write-Host "Запускаем установку: $installerPath"
|
||||
Start-Process -FilePath $installerPath -ArgumentList "/VERYSILENT /NORESTART" -NoNewWindow -Wait
|
||||
Write-Host "Установка завершена."
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Verify Installation') {
|
||||
steps {
|
||||
// Проверяем наличие oint.bat в C:\Program Files (x86)\OInt\bin\
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$batFile = "C:\\Program Files (x86)\\OInt\\bin\\oint.bat"
|
||||
if (-not (Test-Path $batFile)) {
|
||||
Write-Error "Ошибка: oint.bat не найден после установки!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: oint.bat найден после установки."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что where oint выводит нужный путь
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$result = (Get-Command oint -ErrorAction SilentlyContinue).Source
|
||||
$expectedPath = "C:\\Program Files (x86)\\OInt\\bin\\oint.bat"
|
||||
|
||||
if ($result -ne $expectedPath) {
|
||||
Write-Error "Ошибка: Команда 'where oint' указывает не на тот путь: $result"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: 'where oint' указывает на правильный путь: $result"
|
||||
}
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/rp_start.os "CLI"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "ru"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'del "./data.json.gpg"'
|
||||
bat encoding: 'UTF-8', script:'gpg --batch --symmetric --cipher-algo AES256 --passphrase="%GPGKEY%" ./data.json'
|
||||
bat encoding: 'UTF-8', script:'del "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
bat "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
bat 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
bat "git config --global core.ignorecase true"
|
||||
bat "git add ."
|
||||
bat 'git commit -m "Test data update (Jenkins)"'
|
||||
bat "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
96
ci/split_tests/GreenMax/os_deb_test_en
vendored
Normal file
96
ci/split_tests/GreenMax/os_deb_test_en
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
// Удаление каталога /opt/onescript/lib/oint, если существует
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Каталог oint найден. Удаляем..."
|
||||
rm -rf "$DIR_PATH"
|
||||
echo "Каталог oint успешно удален."
|
||||
else
|
||||
echo "Каталог oint не найден. Пропускаем удаление."
|
||||
fi
|
||||
'''
|
||||
|
||||
// Проверяем, что каталог действительно удален
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Ошибка: Каталог oint всё ещё существует после попытки удаления!"
|
||||
exit 1
|
||||
else
|
||||
echo "Проверка: Каталог oint отсутствует после удаления."
|
||||
fi
|
||||
'''
|
||||
} catch (Exception e) {
|
||||
echo "Произошла ошибка при удалении каталога oint: ${e.getMessage()}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
error("Удаление каталога oint завершено с ошибкой.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/en/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "en"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
96
ci/split_tests/GreenMax/os_deb_test_ru
vendored
Normal file
96
ci/split_tests/GreenMax/os_deb_test_ru
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
// Удаление каталога /opt/onescript/lib/oint, если существует
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Каталог oint найден. Удаляем..."
|
||||
rm -rf "$DIR_PATH"
|
||||
echo "Каталог oint успешно удален."
|
||||
else
|
||||
echo "Каталог oint не найден. Пропускаем удаление."
|
||||
fi
|
||||
'''
|
||||
|
||||
// Проверяем, что каталог действительно удален
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Ошибка: Каталог oint всё ещё существует после попытки удаления!"
|
||||
exit 1
|
||||
else
|
||||
echo "Проверка: Каталог oint отсутствует после удаления."
|
||||
fi
|
||||
'''
|
||||
} catch (Exception e) {
|
||||
echo "Произошла ошибка при удалении каталога oint: ${e.getMessage()}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
error("Удаление каталога oint завершено с ошибкой.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/ru/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "ru"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
96
ci/split_tests/GreenMax/os_rpm_test_en
vendored
Normal file
96
ci/split_tests/GreenMax/os_rpm_test_en
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
// Удаление каталога /opt/onescript/lib/oint, если существует
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Каталог oint найден. Удаляем..."
|
||||
rm -rf "$DIR_PATH"
|
||||
echo "Каталог oint успешно удален."
|
||||
else
|
||||
echo "Каталог oint не найден. Пропускаем удаление."
|
||||
fi
|
||||
'''
|
||||
|
||||
// Проверяем, что каталог действительно удален
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Ошибка: Каталог oint всё ещё существует после попытки удаления!"
|
||||
exit 1
|
||||
else
|
||||
echo "Проверка: Каталог oint отсутствует после удаления."
|
||||
fi
|
||||
'''
|
||||
} catch (Exception e) {
|
||||
echo "Произошла ошибка при удалении каталога oint: ${e.getMessage()}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
error("Удаление каталога oint завершено с ошибкой.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/en/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "en"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
96
ci/split_tests/GreenMax/os_rpm_test_ru
vendored
Normal file
96
ci/split_tests/GreenMax/os_rpm_test_ru
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
// Удаление каталога /opt/onescript/lib/oint, если существует
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Каталог oint найден. Удаляем..."
|
||||
rm -rf "$DIR_PATH"
|
||||
echo "Каталог oint успешно удален."
|
||||
else
|
||||
echo "Каталог oint не найден. Пропускаем удаление."
|
||||
fi
|
||||
'''
|
||||
|
||||
// Проверяем, что каталог действительно удален
|
||||
sh '''
|
||||
DIR_PATH="/opt/onescript/lib/oint"
|
||||
|
||||
if [ -d "$DIR_PATH" ]; then
|
||||
echo "Ошибка: Каталог oint всё ещё существует после попытки удаления!"
|
||||
exit 1
|
||||
else
|
||||
echo "Проверка: Каталог oint отсутствует после удаления."
|
||||
fi
|
||||
'''
|
||||
} catch (Exception e) {
|
||||
echo "Произошла ошибка при удалении каталога oint: ${e.getMessage()}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
error("Удаление каталога oint завершено с ошибкой.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Prepare'){
|
||||
steps{
|
||||
sh 'cd ./src/ru/OInt && opm build && opm install oint-1.28.0.ospx && rm oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'gpg --quiet --batch --yes --decrypt --passphrase="$GPGKEY" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
sh 'oscript ./ci/os/rp_start.os'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "ru"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
sh 'rm "./data.json.gpg"'
|
||||
sh 'gpg --batch --symmetric --cipher-algo AES256 --passphrase="$GPGKEY" ./data.json'
|
||||
sh 'rm "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
sh "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
sh 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
sh "git config --global core.ignorecase true"
|
||||
sh "git add ."
|
||||
sh 'git commit -m "Test data update (Jenkins)"'
|
||||
sh "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
94
ci/split_tests/GreenMax/os_test_en
vendored
Normal file
94
ci/split_tests/GreenMax/os_test_en
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
// Удаление каталога C:\Program Files\OneScript\lib\oint, если существует
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$dirPath = "C:\\Program Files\\OneScript\\lib\\oint"
|
||||
if (Test-Path $dirPath) {
|
||||
Write-Host "Каталог oint найден. Удаляем..."
|
||||
Remove-Item -Path $dirPath -Recurse -Force
|
||||
Write-Host "Каталог oint успешно удален."
|
||||
} else {
|
||||
Write-Host "Каталог oint не найден. Пропускаем удаление."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что каталог действительно удален
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$dirPath = "C:\\Program Files\\OneScript\\lib\\oint"
|
||||
if (Test-Path $dirPath) {
|
||||
Write-Error "Ошибка: Каталог oint всё ещё существует после попытки удаления!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: Каталог oint отсутствует после удаления."
|
||||
}
|
||||
'''
|
||||
} catch (Exception e) {
|
||||
echo "Произошла ошибка при удалении каталога oint: ${e.getMessage()}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
error("Удаление каталога oint завершено с ошибкой.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build OInt from source and decrypt secret data'){
|
||||
steps{
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.28.0.ospx; del oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'gpg --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/rp_start.os'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "en"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'del "./data.json.gpg"'
|
||||
bat encoding: 'UTF-8', script:'gpg --batch --symmetric --cipher-algo AES256 --passphrase="%GPGKEY%" ./data.json'
|
||||
bat encoding: 'UTF-8', script:'del "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
bat "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
bat 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
bat "git config --global core.ignorecase true"
|
||||
bat "git add ."
|
||||
bat 'git commit -m "Test data update (Jenkins)"'
|
||||
bat "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
94
ci/split_tests/GreenMax/os_test_ru
vendored
Normal file
94
ci/split_tests/GreenMax/os_test_ru
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
def runCommand(String command) {
|
||||
if (isUnix()) {
|
||||
sh(script: command)
|
||||
} else {
|
||||
bat(script: command)
|
||||
}
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
// Удаление каталога C:\Program Files\OneScript\lib\oint, если существует
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$dirPath = "C:\\Program Files\\OneScript\\lib\\oint"
|
||||
if (Test-Path $dirPath) {
|
||||
Write-Host "Каталог oint найден. Удаляем..."
|
||||
Remove-Item -Path $dirPath -Recurse -Force
|
||||
Write-Host "Каталог oint успешно удален."
|
||||
} else {
|
||||
Write-Host "Каталог oint не найден. Пропускаем удаление."
|
||||
}
|
||||
'''
|
||||
|
||||
// Проверяем, что каталог действительно удален
|
||||
powershell encoding: 'UTF-8', script: '''
|
||||
$dirPath = "C:\\Program Files\\OneScript\\lib\\oint"
|
||||
if (Test-Path $dirPath) {
|
||||
Write-Error "Ошибка: Каталог oint всё ещё существует после попытки удаления!"
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Проверка: Каталог oint отсутствует после удаления."
|
||||
}
|
||||
'''
|
||||
} catch (Exception e) {
|
||||
echo "Произошла ошибка при удалении каталога oint: ${e.getMessage()}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
error("Удаление каталога oint завершено с ошибкой.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build OInt from source and decrypt secret data'){
|
||||
steps{
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.28.0.ospx; del oint-1.28.0.ospx'
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'gpg --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create ReportPortal launch'){
|
||||
steps{
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/rp_start.os'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-GreenMax') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post{
|
||||
always{
|
||||
script {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/rp_stop.os "ru"')
|
||||
}
|
||||
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
|
||||
bat encoding: 'UTF-8', script:'del "./data.json.gpg"'
|
||||
bat encoding: 'UTF-8', script:'gpg --batch --symmetric --cipher-algo AES256 --passphrase="%GPGKEY%" ./data.json'
|
||||
bat encoding: 'UTF-8', script:'del "./data.json"'
|
||||
}
|
||||
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
|
||||
bat "git config user.email vitaly.the.alpaca@gmail.com"
|
||||
bat 'git config user.name "Vitaly the Alpaca (bot)"'
|
||||
bat "git config --global core.ignorecase true"
|
||||
bat "git add ."
|
||||
bat 'git commit -m "Test data update (Jenkins)"'
|
||||
bat "git push origin HEAD:main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
2
ci/split_tests/HTTPClient/1c_test_en
vendored
2
ci/split_tests/HTTPClient/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/HTTPClient.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\HTTPClient.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/HTTPКлиент/1c_test_ru
vendored
2
ci/split_tests/HTTPКлиент/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/HTTPКлиент.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\HTTPКлиент.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/MSSQL/1c_test_en
vendored
2
ci/split_tests/MSSQL/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/MSSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\MSSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/MSSQL/1c_test_ru
vendored
2
ci/split_tests/MSSQL/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/MSSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\MSSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/MySQL/1c_test_en
vendored
2
ci/split_tests/MySQL/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/MySQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\MySQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/MySQL/1c_test_ru
vendored
2
ci/split_tests/MySQL/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/MySQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\MySQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Neocities/1c_test_en
vendored
2
ci/split_tests/Neocities/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Neocities.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Neocities.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Neocities/1c_test_ru
vendored
2
ci/split_tests/Neocities/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Neocities.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Neocities.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Notion/1c_test_en
vendored
2
ci/split_tests/Notion/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Notion.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Notion.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Notion/1c_test_ru
vendored
2
ci/split_tests/Notion/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Notion.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Notion.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Ollama/1c_test_en
vendored
2
ci/split_tests/Ollama/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Ollama.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Ollama.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Ollama/1c_test_ru
vendored
2
ci/split_tests/Ollama/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Ollama.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Ollama.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/OpenAI/1c_test_en
vendored
2
ci/split_tests/OpenAI/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/OpenAI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\OpenAI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/OpenAI/1c_test_ru
vendored
2
ci/split_tests/OpenAI/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/OpenAI.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\OpenAI.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/PostgreSQL/1c_test_en
vendored
2
ci/split_tests/PostgreSQL/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/PostgreSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\PostgreSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/PostgreSQL/1c_test_ru
vendored
2
ci/split_tests/PostgreSQL/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/PostgreSQL.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\PostgreSQL.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/RCON/1c_test_en
vendored
2
ci/split_tests/RCON/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/RCON.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\RCON.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/RCON/1c_test_ru
vendored
2
ci/split_tests/RCON/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/RCON.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\RCON.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/ReportPortal/1c_test_en
vendored
2
ci/split_tests/ReportPortal/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/ReportPortal.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\ReportPortal.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/ReportPortal/1c_test_ru
vendored
2
ci/split_tests/ReportPortal/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/ReportPortal.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\ReportPortal.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/S3/1c_test_en
vendored
2
ci/split_tests/S3/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/S3.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\S3.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/S3/1c_test_ru
vendored
2
ci/split_tests/S3/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/S3.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\S3.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/SFTP/1c_test_en
vendored
2
ci/split_tests/SFTP/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/SFTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\SFTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/SFTP/1c_test_ru
vendored
2
ci/split_tests/SFTP/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/SFTP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\SFTP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/SQLite/1c_test_en
vendored
2
ci/split_tests/SQLite/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/SQLite.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\SQLite.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/SQLite/1c_test_ru
vendored
2
ci/split_tests/SQLite/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/SQLite.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\SQLite.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/SSH/1c_test_en
vendored
2
ci/split_tests/SSH/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/SSH.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\SSH.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/SSH/1c_test_ru
vendored
2
ci/split_tests/SSH/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/SSH.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\SSH.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Slack/1c_test_en
vendored
2
ci/split_tests/Slack/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Slack.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Slack.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Slack/1c_test_ru
vendored
2
ci/split_tests/Slack/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Slack.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Slack.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/TCP/1c_test_en
vendored
2
ci/split_tests/TCP/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/TCP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\TCP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/TCP/1c_test_ru
vendored
2
ci/split_tests/TCP/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/TCP.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\TCP.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Telegram/1c_test_en
vendored
2
ci/split_tests/Telegram/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Telegram.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Telegram.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Telegram/1c_test_ru
vendored
2
ci/split_tests/Telegram/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Telegram.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Telegram.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Twitter/1c_test_en
vendored
2
ci/split_tests/Twitter/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Twitter.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Twitter.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Twitter/1c_test_ru
vendored
2
ci/split_tests/Twitter/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Twitter.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Twitter.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/VK/1c_test_en
vendored
2
ci/split_tests/VK/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/VK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\VK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/VK/1c_test_ru
vendored
2
ci/split_tests/VK/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/VK.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\VK.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Viber/1c_test_en
vendored
2
ci/split_tests/Viber/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/Viber.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\Viber.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/Viber/1c_test_ru
vendored
2
ci/split_tests/Viber/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/Viber.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\Viber.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/VkTeams/1c_test_en
vendored
2
ci/split_tests/VkTeams/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/VkTeams.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\VkTeams.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/VkTeams/1c_test_ru
vendored
2
ci/split_tests/VkTeams/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/VkTeams.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\VkTeams.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/YandexDisk/1c_test_en
vendored
2
ci/split_tests/YandexDisk/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/YandexDisk.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\YandexDisk.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/YandexDisk/1c_test_ru
vendored
2
ci/split_tests/YandexDisk/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/YandexDisk.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\YandexDisk.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/YandexMetrika/1c_test_en
vendored
2
ci/split_tests/YandexMetrika/1c_test_en
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrationsEng\";" /C"RunUnitTests=./yaxunit_conf/en/YandexMetrika.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrationsEng\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\en\YandexMetrika.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
2
ci/split_tests/YandexMetrika/1c_test_ru
vendored
2
ci/split_tests/YandexMetrika/1c_test_ru
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
||||
script {
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"DEVSRV\";Ref=\"OpenIntegrations\";" /C"RunUnitTests=./yaxunit_conf/ru/YandexMetrika.json"')
|
||||
runCommand('"C:\\Program Files\\1cv8\\8.3.18.1208\\bin\\1cv8c.exe" /IBConnectionString "Srvr=\"\"DEVSRV\"\";Ref=\"\"OpenIntegrations\"\";" /C"RunUnitTests=C:\ProgramData\Jenkins\.jenkins\workspace\OpiBuild\OpiMain\service\yaxunit_conf\ru\YandexMetrika.json"')
|
||||
|
||||
timeout(time: 60, unit: 'MINUTES') {
|
||||
waitUntil {
|
||||
|
||||
39
docs/en/md/GreenMax/Account/Check-account.mdx
vendored
Normal file
39
docs/en/md/GreenMax/Account/Check-account.mdx
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
sidebar_position: 11
|
||||
description: Check account and other functions to work with Green Max in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Green Max]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Check account
|
||||
Checks the existence of a Max account by phone number
|
||||
|
||||
|
||||
|
||||
`Function CheckAccount(Val AccessParameters, Val PhoneNumber, Val IgnoreCache = False) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| AccessParameters | --access | Structure Of KeyAndValue | ✔ | Access parameters. See FormAccessParameters |
|
||||
| PhoneNumber | --phone | String, Number | ✔ | Phone number for verification without + |
|
||||
| IgnoreCache | --force | Boolean | ✖ | Ignore cache on repeated verification request |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Green API
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [CheckAccount](https://green-api.com/v3/docs/api/account/CheckAccount/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
47
docs/en/md/GreenMax/Account/Form-access-parameters.mdx
vendored
Normal file
47
docs/en/md/GreenMax/Account/Form-access-parameters.mdx
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
description: Form access parameters and other functions to work with Green Max in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Green Max]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Form access parameters
|
||||
Forms the structure of basic authorization data
|
||||
|
||||
|
||||
|
||||
`Function FormAccessParameters(Val ApiUrl, Val MediaUrl, Val IdInstance, Val ApiTokenInstance) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| ApiUrl | --api | String | ✔ | API host link |
|
||||
| MediaUrl | --media | String | ✔ | Link to host API for sending files |
|
||||
| IdInstance | --id | String | ✔ | Unique instance number |
|
||||
| ApiTokenInstance | --token | String | ✔ | Instance access key |
|
||||
|
||||
|
||||
Returns: Structure - Structure of access parameters
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
More details in the API documentation: [Get access parameters to instance](https://green-api.com/v3/docs/before-start/#parameters)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ApiUrl = "https://3100.api.green-api.com/v3";
|
||||
MediaUrl = "https://3100.api.green-api.com/v3";
|
||||
IdInstance = "31003...";
|
||||
ApiTokenInstance = "17915d8e0b4b4975a183478da...";
|
||||
|
||||
Result = OPI_GreenMax.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
45
docs/en/md/GreenMax/Account/Get-account-information.mdx
vendored
Normal file
45
docs/en/md/GreenMax/Account/Get-account-information.mdx
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
description: Get account information and other functions to work with Green Max in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Green Max]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get account information
|
||||
Gets account information
|
||||
|
||||
|
||||
|
||||
`Function GetAccountInformation(Val AccessParameters) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| AccessParameters | --access | Structure Of KeyAndValue | ✔ | Access parameters. See FormAccessParameters |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Green API
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [GetWaSettings](https://green-api.com/v3/docs/api/account/GetAccountSettings/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ApiUrl = "https://3100.api.green-api.com/v3";
|
||||
MediaUrl = "https://3100.api.green-api.com/v3";
|
||||
IdInstance = "31003...";
|
||||
ApiTokenInstance = "17915d8e0b4b4975a183478da...";
|
||||
|
||||
AccessParameters = OPI_GreenMax.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenMax.GetAccountInformation(AccessParameters);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
48
docs/en/md/GreenMax/Account/Get-authorization-code.mdx
vendored
Normal file
48
docs/en/md/GreenMax/Account/Get-authorization-code.mdx
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
description: Get authorization code and other functions to work with Green Max in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Green Max]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get authorization code
|
||||
Sends an SMS to the specified number to obtain a confirmation code
|
||||
|
||||
|
||||
|
||||
`Function GetAuthorizationCode(Val AccessParameters, Val PhoneNumber) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| AccessParameters | --access | Structure Of KeyAndValue | ✔ | Access parameters. See FormAccessParameters |
|
||||
| PhoneNumber | --phone | String, Number | ✔ | Phone number without + |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Green API
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [StartAuthorization](https://green-api.com/v3/docs/api/account/StartAuthorization/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ApiUrl = "https://3100.api.green-api.com/v3";
|
||||
MediaUrl = "https://3100.api.green-api.com/v3";
|
||||
IdInstance = "31003...";
|
||||
ApiTokenInstance = "17915d8e0b4b4975a183478da...";
|
||||
|
||||
PhoneNumber = 441234567890;
|
||||
|
||||
AccessParameters = OPI_GreenMax.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenMax.GetAuthorizationCode(AccessParameters, PhoneNumber);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
35
docs/en/md/GreenMax/Account/Get-instance-settings-structure.mdx
vendored
Normal file
35
docs/en/md/GreenMax/Account/Get-instance-settings-structure.mdx
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
sidebar_position: 12
|
||||
description: Get instance settings structure and other functions to work with Green Max in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Green Max]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get instance settings structure
|
||||
Gets the structure template for instance settings
|
||||
|
||||
|
||||
|
||||
`Function GetInstanceSettingsStructure(Val Clear = False) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Structure of instance settings
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Result = OPI_GreenMax.GetInstanceSettingsStructure();
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user