diff --git a/ci/clitestru b/ci/clitestru index 3dbf518f3e..c1be63d02d 100644 --- a/ci/clitestru +++ b/ci/clitestru @@ -1,38 +1,12 @@ -pipeline { - agent any - stages { - stage('Prepare'){ + stage('yandex'){ steps{ - powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.14.0.ospx; del oint-1.14.0.ospx' - powershell encoding: 'UTF-8', script:'oscript -make ./src/ru/cli/core/Classes/app.os oint.exe' + test_yandex() } } - stage('Run'){ - steps{ -test_tools() -test_airtable() -test_bitrix24() -test_dropbox() -test_gcalendar() -test_gdrive() -test_gsheets() -test_google() -test_neocities() -test_notion() -test_ozon() -test_slack() -test_telegram() -test_twitter() -test_viber() -test_vk() -test_vkteams() -test_yadisk() -test_yandex() - - } - } - } + } + } + } } diff --git a/ci/os/cli_testmaker.os b/ci/os/cli_testmaker.os index e4c005d617..9611bd461d 100644 --- a/ci/os/cli_testmaker.os +++ b/ci/os/cli_testmaker.os @@ -82,21 +82,27 @@ | powershell encoding: 'UTF-8', script:'oscript -make ./src/" + Язык + "/cli/core/Classes/app.os oint.exe' | } | } - | stage('Run'){ - | steps{ + | stage('Run Tests') { + | parallel { |"; Для Каждого Модуль Из Модули Цикл ТекущаяКоманда = Модуль.Ключ; - ТекстРаботы = ТекстРаботы + "test_" + ТекущаяКоманда + "()" + Символы.ПС; + + ТекстРаботы = " + | stage('" + ТекущаяКоманда + "'){ + | steps{ + | test_" + ТекущаяКоманда + "() + | } + | }"; КонецЦикла; ТекстРаботы = ТекстРаботы + " - | } - | } - | } + | } + | } + | } |} |";