1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/ci/cli_test_en

767 lines
38 KiB
Plaintext
Raw Normal View History

2025-06-30 16:46:26 +03:00
def runCommand(String command) {
if (isUnix()) {
sh(script: command)
} else {
bat(script: command)
}
}
2025-06-30 10:50:49 +03:00
pipeline {
2025-06-30 11:00:39 +03:00
agent {
label 'windows'
}
2025-06-30 10:50:49 +03:00
stages {
2025-07-01 19:40:39 +03:00
stage('Decrypt Data') {
steps {
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: '''
2025-07-30 10:08:06 +03:00
$url = "https://jenkins.openintegrations.dev/job/OpiBuild/job/OpiRelease/lastSuccessfulBuild/artifact/1.27.0/oint_1.27.0_installer_en.exe "
2025-07-01 19:40:39 +03:00
$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"
}
'''
}
}
2025-06-30 10:50:49 +03:00
stage('Testing-Telegram') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_GetBotInfo"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_GetUpdates"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SetWebhook"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendTextMessage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendImage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendVideo"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendAudio"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendDocument"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendGIF"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendMediaGroup"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendLocation"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendContact"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_SendPoll"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_ForwardMessage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_BanUnban"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_CreateInvitationLink"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_PinUnpinMessage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_GetMemberCount"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_GetForumAvatarsList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_CreateDeleteForumTopic"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_ChangeMainTopicName"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TelegramAPI_HideShowMainTopic"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-VK') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreateTokenLink"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreateDeletePost"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreateCompositePost"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreatePoll"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_SaveDeleteImage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreateStory"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_DiscussionMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_LikeRepostComment"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_GetStatistics"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_GetPostStatistics"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreateAdCampaign"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_SendMessage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_GetProductCategories"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreateProductSelection"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_CreateProductWithProperties"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_GetProductList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_GetSelectionList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_GetPropertyList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_GetOrderList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKAPI_UploadVideo"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Viber') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Viber_DataRetrieval"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Viber_MessagesSending"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Twitter') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TwitterAPI_AccountData"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TwitterAPI_Tweets"')
2025-06-30 10:50:49 +03:00
}
}
}
2025-07-18 19:54:06 +03:00
stage('Testing-FTP') {
steps {
2025-07-29 09:28:38 +03:00
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_FT_DirecotryManagement"')
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_FT_FileOperations"')
}
2025-08-06 19:06:49 +03:00
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_FT_CommonMethods"')
}
2025-07-18 19:54:06 +03:00
}
}
2025-06-30 10:50:49 +03:00
stage('Testing-PostgreSQL') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Postgres_CommonMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Postgres_ORM"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-MySQL') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_MYS_CommonMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_MYS_ORM"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-MSSQL') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_MSS_CommonMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_MSS_ORM"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-SQLite') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_SQLL_CommonMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_SQLL_ORM"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-RCON') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_RC_CommandsExecution"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-YandexDisk') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_GetDiskInfo"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_CreateFolder"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_UploadByUrlAndGetObject"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_UploadDeleteFile"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_CreateObjectCopy"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_GetDownloadLink"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_GetFileList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_MoveObject"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_PublicObjectActions"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YDisk_GetPublishedList"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-GoogleWorkspace') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GW_Auth"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-GoogleCalendar') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GW_Auth"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GC_GetCalendarList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GC_CreateDeleteCalendar"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GC_CreateDeleteEvent"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-GoogleDrive') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GW_Auth"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GD_GetCatalogList"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GD_UploadDeleteFile"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GD_CreateDeleteComment"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GD_CreateCatalog"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-GoogleSheets') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GW_Auth"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GT_CreateTable"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GT_FillClearCells"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Notion') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_NotionAPI_CreatePage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_NotionAPI_CreateUpdateBase"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_NotionAPI_CreateDeleteBlock"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_NotionAPI_GetUsers"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Slack') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_SlackGetData"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Slack_SendDeleteMessage"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Slack_CreateArchiveChannel"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Slack_OpenCloseDialog"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Slack_UploadDeleteFile"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_Slack_UploadDeleteExternalFile"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Airtable') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AT_CreateDatabase"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AT_CreateTable"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AT_CreateField"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AT_CreateDeleteRecords"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Dropbox') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_GetUpdateToken"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_UploadFile"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_UploadFileByURL"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_CreateFolder"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_CreateDeleteTag"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_GetAccount"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_AccessManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_DropboxAPI_GetFolderFileList"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Bitrix24') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_TokenManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_ServerTime"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_PostsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_TaskManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_CommentsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_WorkingWithDrive"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_Kanban"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_Timekeeping"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_ChatManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_NotificationsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_TasksFieldsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_DepartmentsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B2_UsersManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_LeadsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_DealsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_B24_CalendarsManagement"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-VkTeams') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKT_MessagesSending"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKT_CommonMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_VKT_ChatManagement"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Ozon') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OzonAPI_AttributesAndFeatures"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OzonAPI_UploadingAndUpdatingProducts"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OzonAPI_Barcodes"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OzonAPI_PricesAndStocks"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OzonAPI_PromotionsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OzonAPI_WarehousesManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OzonAPI_FBOScheme"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Neocities') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_NC_FilesManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_NC_DataRetrieving"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-CDEK') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_CdekAPI_CommonMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_CDEKAPI_OrdersManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_CdekAPI_CourierInvitationsManagement"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-YandexMetrika') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YaMetrika_TagsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YaMetrika_CountersManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_YaMetrika_ActionsManagement"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-S3') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AWS_CommonMethods"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AWS_BucketsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_AWS_ObjectsManagement"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-TCP') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_TC_Client"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-GreenAPI') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GAPI_GroupManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GAPI_MessageSending"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GAPI_NotificationsReceiving"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GAPI_MessageQueue"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GAPI_MessageLogs"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_GAPI_Account"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-Ollama') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OLLM_RequestsProcessing"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OLLM_ModelsManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OLLM_WorkingWithBlob"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-HTTPClient') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_HTTP_Initialization"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_HTTP_BodySet"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_HTTP_Settings"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_HTTP_HeadersSetting"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_HTTP_Authorization"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_HTTP_RequestProcessing"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_HTTP_ResponseReceiving"')
2025-06-30 10:50:49 +03:00
}
}
}
stage('Testing-OpenAI') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OAI_RequestsProcessing"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OAI_Assistants"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OAI_FileManagement"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OAI_AudioProcessing"')
2025-06-30 10:50:49 +03:00
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
2025-07-01 23:16:54 +03:00
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_OAI_ModelsManagement"')
2025-06-30 10:50:49 +03:00
}
}
}
2025-09-01 16:30:40 +03:00
stage('Testing-ReportPortal') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CLI_RPortal_Authorization"')
}
}
}
2025-06-30 10:50:49 +03:00
}
post{
always{
script {
withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) {
bat encoding: 'UTF-8', script:'del "./data.json.gpg"'
2025-06-30 11:11:33 +03:00
bat encoding: 'UTF-8', script:'gpg --batch --symmetric --cipher-algo AES256 --passphrase="%GPGKEY%" ./data.json'
2025-06-30 10:50:49 +03:00
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"
}
}
}
}
}