You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-27 22:18:36 +02:00
Main build (Jenkins)
This commit is contained in:
102
ci/1c_test_en
vendored
102
ci/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -71,6 +74,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -80,6 +86,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -89,6 +98,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -98,6 +110,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -107,6 +122,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -116,6 +134,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -125,6 +146,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -134,6 +158,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -143,6 +170,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -152,6 +182,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -161,6 +194,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -170,6 +206,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -179,6 +218,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -188,6 +230,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -197,6 +242,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -206,6 +254,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -215,6 +266,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -224,6 +278,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -233,6 +290,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -242,6 +302,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -251,6 +314,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -260,6 +326,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -269,6 +338,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -278,6 +350,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -287,6 +362,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -296,6 +374,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -305,6 +386,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -314,6 +398,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -323,6 +410,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -332,6 +422,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -341,6 +434,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPClient') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPClient') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -350,6 +446,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -359,6 +458,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
102
ci/1c_test_ru
vendored
102
ci/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -71,6 +74,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -80,6 +86,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -89,6 +98,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -98,6 +110,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -107,6 +122,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -116,6 +134,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -125,6 +146,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -134,6 +158,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -143,6 +170,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -152,6 +182,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -161,6 +194,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -170,6 +206,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -179,6 +218,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -188,6 +230,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -197,6 +242,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -206,6 +254,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -215,6 +266,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -224,6 +278,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -233,6 +290,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -242,6 +302,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -251,6 +314,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -260,6 +326,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -269,6 +338,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -278,6 +350,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -287,6 +362,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -296,6 +374,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -305,6 +386,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -314,6 +398,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -323,6 +410,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -332,6 +422,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -341,6 +434,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPКлиент') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPКлиент') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -350,6 +446,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -359,6 +458,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
117
ci/cli_deb_test_en
vendored
117
ci/cli_deb_test_en
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TelegramAPI_GetBotInfo"')
|
||||
@@ -124,6 +137,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "VKAPI_CreateTokenLink"')
|
||||
@@ -188,6 +204,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "Viber_DataRetrieval"')
|
||||
@@ -198,6 +217,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TwitterAPI_AccountData"')
|
||||
@@ -208,6 +230,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "FT_DirecotryManagement"')
|
||||
@@ -221,6 +246,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SShell_CommonMethods"')
|
||||
@@ -228,6 +256,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SF_CommonMethods"')
|
||||
@@ -241,6 +272,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "Postgres_CommonMethods"')
|
||||
@@ -251,6 +285,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "MYS_CommonMethods"')
|
||||
@@ -261,6 +298,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "MSS_CommonMethods"')
|
||||
@@ -271,6 +311,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SQLL_CommonMethods"')
|
||||
@@ -281,6 +324,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "RC_CommandsExecution"')
|
||||
@@ -288,6 +334,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "YDisk_GetDiskInfo"')
|
||||
@@ -322,6 +371,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -329,6 +381,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -345,6 +400,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -364,6 +422,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -377,6 +438,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "NotionAPI_CreatePage"')
|
||||
@@ -393,6 +457,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SlackGetData"')
|
||||
@@ -415,6 +482,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AT_CreateDatabase"')
|
||||
@@ -431,6 +501,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -459,6 +532,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "B24_TokenManagement"')
|
||||
@@ -511,6 +587,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "VKT_MessagesSending"')
|
||||
@@ -524,6 +603,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "NC_FilesManagement"')
|
||||
@@ -534,6 +616,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CdekAPI_CommonMethods"')
|
||||
@@ -547,6 +632,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "YaMetrika_TagsManagement"')
|
||||
@@ -560,6 +648,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AWS_CommonMethods"')
|
||||
@@ -573,6 +664,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TC_Client"')
|
||||
@@ -580,6 +674,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GAPI_GroupManagement"')
|
||||
@@ -602,6 +699,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
@@ -609,6 +709,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "OLLM_RequestsProcessing"')
|
||||
@@ -622,6 +725,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPClient') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPClient') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "HTTP_Initialization"')
|
||||
@@ -647,6 +753,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "OAI_RequestsProcessing"')
|
||||
@@ -666,6 +775,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "RPortal_Authorization"')
|
||||
@@ -696,4 +808,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/cli_deb_test_ru
vendored
117
ci/cli_deb_test_ru
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Телеграм_ПолучитьИнформациюБота"')
|
||||
@@ -124,6 +137,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ВК_СоздатьСсылкуТокена"')
|
||||
@@ -188,6 +204,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Вайбер_ПолучениеИнформации"')
|
||||
@@ -198,6 +217,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Твиттер_ДанныеАккаунта"')
|
||||
@@ -208,6 +230,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "FT_РаботаСДиректориями"')
|
||||
@@ -221,6 +246,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SShell_ОсновныеМетоды"')
|
||||
@@ -228,6 +256,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SF_ОсновныеМетоды"')
|
||||
@@ -241,6 +272,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Postgres_ОсновныеМетоды"')
|
||||
@@ -251,6 +285,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "MYS_ОсновныеМетоды"')
|
||||
@@ -261,6 +298,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "MSS_ОсновныеМетоды"')
|
||||
@@ -271,6 +311,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SQLL_ОсновныеМетоды"')
|
||||
@@ -281,6 +324,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "RC_ВыполнениеКоманд"')
|
||||
@@ -288,6 +334,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ЯДиск_ПолучитьИнформациюОДиске"')
|
||||
@@ -322,6 +371,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -329,6 +381,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -345,6 +400,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -364,6 +422,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -377,6 +438,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "НоушнАпи_СоздатьСтраницу"')
|
||||
@@ -393,6 +457,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Слак_ПолучитьИнформацию"')
|
||||
@@ -415,6 +482,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "АТ_СоздатьБазу"')
|
||||
@@ -431,6 +501,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -459,6 +532,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Б24_РаботаСТокеном"')
|
||||
@@ -511,6 +587,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ВКТ_ОтправкаСообщений"')
|
||||
@@ -524,6 +603,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "НС_РаботаСФайлами"')
|
||||
@@ -534,6 +616,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -547,6 +632,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ЯМетрика_УправлениеМетками"')
|
||||
@@ -560,6 +648,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "AWS_ОбщиеМетоды"')
|
||||
@@ -573,6 +664,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "TC_Клиент"')
|
||||
@@ -580,6 +674,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GAPI_УправлениеГруппами"')
|
||||
@@ -602,6 +699,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
@@ -609,6 +709,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "OLLM_ОбработкаЗапросов"')
|
||||
@@ -622,6 +725,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPКлиент') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPКлиент') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "HTTP_Инициализация"')
|
||||
@@ -647,6 +753,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "OAI_ОбработкаЗапросов"')
|
||||
@@ -666,6 +775,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "RPortal_Авторизация"')
|
||||
@@ -696,4 +808,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/cli_rpm_test_en
vendored
117
ci/cli_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TelegramAPI_GetBotInfo"')
|
||||
@@ -123,6 +136,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "VKAPI_CreateTokenLink"')
|
||||
@@ -187,6 +203,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "Viber_DataRetrieval"')
|
||||
@@ -197,6 +216,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TwitterAPI_AccountData"')
|
||||
@@ -207,6 +229,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "FT_DirecotryManagement"')
|
||||
@@ -220,6 +245,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SShell_CommonMethods"')
|
||||
@@ -227,6 +255,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SF_CommonMethods"')
|
||||
@@ -240,6 +271,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "Postgres_CommonMethods"')
|
||||
@@ -250,6 +284,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "MYS_CommonMethods"')
|
||||
@@ -260,6 +297,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "MSS_CommonMethods"')
|
||||
@@ -270,6 +310,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SQLL_CommonMethods"')
|
||||
@@ -280,6 +323,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "RC_CommandsExecution"')
|
||||
@@ -287,6 +333,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "YDisk_GetDiskInfo"')
|
||||
@@ -321,6 +370,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -328,6 +380,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -344,6 +399,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -363,6 +421,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -376,6 +437,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "NotionAPI_CreatePage"')
|
||||
@@ -392,6 +456,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SlackGetData"')
|
||||
@@ -414,6 +481,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AT_CreateDatabase"')
|
||||
@@ -430,6 +500,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -458,6 +531,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "B24_TokenManagement"')
|
||||
@@ -510,6 +586,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "VKT_MessagesSending"')
|
||||
@@ -523,6 +602,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "NC_FilesManagement"')
|
||||
@@ -533,6 +615,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CdekAPI_CommonMethods"')
|
||||
@@ -546,6 +631,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "YaMetrika_TagsManagement"')
|
||||
@@ -559,6 +647,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AWS_CommonMethods"')
|
||||
@@ -572,6 +663,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TC_Client"')
|
||||
@@ -579,6 +673,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GAPI_GroupManagement"')
|
||||
@@ -601,6 +698,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
@@ -608,6 +708,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "OLLM_RequestsProcessing"')
|
||||
@@ -621,6 +724,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPClient') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPClient') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "HTTP_Initialization"')
|
||||
@@ -646,6 +752,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "OAI_RequestsProcessing"')
|
||||
@@ -665,6 +774,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "RPortal_Authorization"')
|
||||
@@ -695,4 +807,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/cli_rpm_test_ru
vendored
117
ci/cli_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Телеграм_ПолучитьИнформациюБота"')
|
||||
@@ -123,6 +136,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ВК_СоздатьСсылкуТокена"')
|
||||
@@ -187,6 +203,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Вайбер_ПолучениеИнформации"')
|
||||
@@ -197,6 +216,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Твиттер_ДанныеАккаунта"')
|
||||
@@ -207,6 +229,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "FT_РаботаСДиректориями"')
|
||||
@@ -220,6 +245,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SShell_ОсновныеМетоды"')
|
||||
@@ -227,6 +255,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SF_ОсновныеМетоды"')
|
||||
@@ -240,6 +271,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Postgres_ОсновныеМетоды"')
|
||||
@@ -250,6 +284,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "MYS_ОсновныеМетоды"')
|
||||
@@ -260,6 +297,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "MSS_ОсновныеМетоды"')
|
||||
@@ -270,6 +310,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SQLL_ОсновныеМетоды"')
|
||||
@@ -280,6 +323,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "RC_ВыполнениеКоманд"')
|
||||
@@ -287,6 +333,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ЯДиск_ПолучитьИнформациюОДиске"')
|
||||
@@ -321,6 +370,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -328,6 +380,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -344,6 +399,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -363,6 +421,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -376,6 +437,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "НоушнАпи_СоздатьСтраницу"')
|
||||
@@ -392,6 +456,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Слак_ПолучитьИнформацию"')
|
||||
@@ -414,6 +481,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "АТ_СоздатьБазу"')
|
||||
@@ -430,6 +500,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -458,6 +531,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Б24_РаботаСТокеном"')
|
||||
@@ -510,6 +586,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ВКТ_ОтправкаСообщений"')
|
||||
@@ -523,6 +602,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "НС_РаботаСФайлами"')
|
||||
@@ -533,6 +615,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -546,6 +631,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ЯМетрика_УправлениеМетками"')
|
||||
@@ -559,6 +647,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "AWS_ОбщиеМетоды"')
|
||||
@@ -572,6 +663,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "TC_Клиент"')
|
||||
@@ -579,6 +673,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GAPI_УправлениеГруппами"')
|
||||
@@ -601,6 +698,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
@@ -608,6 +708,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "OLLM_ОбработкаЗапросов"')
|
||||
@@ -621,6 +724,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPКлиент') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPКлиент') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "HTTP_Инициализация"')
|
||||
@@ -646,6 +752,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "OAI_ОбработкаЗапросов"')
|
||||
@@ -665,6 +774,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "RPortal_Авторизация"')
|
||||
@@ -695,4 +807,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/cli_test_en
vendored
117
ci/cli_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TelegramAPI_GetBotInfo"')
|
||||
@@ -203,6 +216,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "VKAPI_CreateTokenLink"')
|
||||
@@ -267,6 +283,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "Viber_DataRetrieval"')
|
||||
@@ -277,6 +296,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TwitterAPI_AccountData"')
|
||||
@@ -287,6 +309,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "FT_DirecotryManagement"')
|
||||
@@ -300,6 +325,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SShell_CommonMethods"')
|
||||
@@ -307,6 +335,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SF_CommonMethods"')
|
||||
@@ -320,6 +351,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "Postgres_CommonMethods"')
|
||||
@@ -330,6 +364,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "MYS_CommonMethods"')
|
||||
@@ -340,6 +377,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "MSS_CommonMethods"')
|
||||
@@ -350,6 +390,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SQLL_CommonMethods"')
|
||||
@@ -360,6 +403,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "RC_CommandsExecution"')
|
||||
@@ -367,6 +413,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "YDisk_GetDiskInfo"')
|
||||
@@ -401,6 +450,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -408,6 +460,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -424,6 +479,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -443,6 +501,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -456,6 +517,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "NotionAPI_CreatePage"')
|
||||
@@ -472,6 +536,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "SlackGetData"')
|
||||
@@ -494,6 +561,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AT_CreateDatabase"')
|
||||
@@ -510,6 +580,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -538,6 +611,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "B24_TokenManagement"')
|
||||
@@ -590,6 +666,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "VKT_MessagesSending"')
|
||||
@@ -603,6 +682,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "NC_FilesManagement"')
|
||||
@@ -613,6 +695,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CdekAPI_CommonMethods"')
|
||||
@@ -626,6 +711,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "YaMetrika_TagsManagement"')
|
||||
@@ -639,6 +727,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AWS_CommonMethods"')
|
||||
@@ -652,6 +743,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "TC_Client"')
|
||||
@@ -659,6 +753,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GAPI_GroupManagement"')
|
||||
@@ -681,6 +778,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GMax_Account"')
|
||||
@@ -688,6 +788,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "OLLM_RequestsProcessing"')
|
||||
@@ -701,6 +804,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPClient') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPClient') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "HTTP_Initialization"')
|
||||
@@ -726,6 +832,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "OAI_RequestsProcessing"')
|
||||
@@ -745,6 +854,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "RPortal_Authorization"')
|
||||
@@ -775,4 +887,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/cli_test_ru
vendored
117
ci/cli_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Телеграм_ПолучитьИнформациюБота"')
|
||||
@@ -203,6 +216,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ВК_СоздатьСсылкуТокена"')
|
||||
@@ -267,6 +283,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Вайбер_ПолучениеИнформации"')
|
||||
@@ -277,6 +296,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Твиттер_ДанныеАккаунта"')
|
||||
@@ -287,6 +309,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "FT_РаботаСДиректориями"')
|
||||
@@ -300,6 +325,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SShell_ОсновныеМетоды"')
|
||||
@@ -307,6 +335,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SF_ОсновныеМетоды"')
|
||||
@@ -320,6 +351,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Postgres_ОсновныеМетоды"')
|
||||
@@ -330,6 +364,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "MYS_ОсновныеМетоды"')
|
||||
@@ -340,6 +377,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "MSS_ОсновныеМетоды"')
|
||||
@@ -350,6 +390,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "SQLL_ОсновныеМетоды"')
|
||||
@@ -360,6 +403,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "RC_ВыполнениеКоманд"')
|
||||
@@ -367,6 +413,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ЯДиск_ПолучитьИнформациюОДиске"')
|
||||
@@ -401,6 +450,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -408,6 +460,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -424,6 +479,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -443,6 +501,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -456,6 +517,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "НоушнАпи_СоздатьСтраницу"')
|
||||
@@ -472,6 +536,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Слак_ПолучитьИнформацию"')
|
||||
@@ -494,6 +561,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "АТ_СоздатьБазу"')
|
||||
@@ -510,6 +580,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -538,6 +611,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Б24_РаботаСТокеном"')
|
||||
@@ -590,6 +666,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ВКТ_ОтправкаСообщений"')
|
||||
@@ -603,6 +682,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "НС_РаботаСФайлами"')
|
||||
@@ -613,6 +695,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -626,6 +711,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ЯМетрика_УправлениеМетками"')
|
||||
@@ -639,6 +727,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "AWS_ОбщиеМетоды"')
|
||||
@@ -652,6 +743,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "TC_Клиент"')
|
||||
@@ -659,6 +753,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GAPI_УправлениеГруппами"')
|
||||
@@ -681,6 +778,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "GMax_Аккаунт"')
|
||||
@@ -688,6 +788,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "OLLM_ОбработкаЗапросов"')
|
||||
@@ -701,6 +804,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPКлиент') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPКлиент') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "HTTP_Инициализация"')
|
||||
@@ -726,6 +832,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "OAI_ОбработкаЗапросов"')
|
||||
@@ -745,6 +854,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "RPortal_Авторизация"')
|
||||
@@ -775,4 +887,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/os_deb_test_en
vendored
117
ci/os_deb_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TelegramAPI_GetBotInfo"')
|
||||
@@ -133,6 +146,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "VKAPI_CreateTokenLink"')
|
||||
@@ -197,6 +213,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Viber_DataRetrieval"')
|
||||
@@ -207,6 +226,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TwitterAPI_AccountData"')
|
||||
@@ -217,6 +239,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "FT_DirecotryManagement"')
|
||||
@@ -230,6 +255,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SShell_CommonMethods"')
|
||||
@@ -237,6 +265,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SF_CommonMethods"')
|
||||
@@ -250,6 +281,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Postgres_CommonMethods"')
|
||||
@@ -260,6 +294,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "MYS_CommonMethods"')
|
||||
@@ -270,6 +307,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "MSS_CommonMethods"')
|
||||
@@ -280,6 +320,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SQLL_CommonMethods"')
|
||||
@@ -290,6 +333,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "RC_CommandsExecution"')
|
||||
@@ -297,6 +343,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "YDisk_GetDiskInfo"')
|
||||
@@ -331,6 +380,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -338,6 +390,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -354,6 +409,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -373,6 +431,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -386,6 +447,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "NotionAPI_CreatePage"')
|
||||
@@ -402,6 +466,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SlackGetData"')
|
||||
@@ -424,6 +491,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AT_CreateDatabase"')
|
||||
@@ -440,6 +510,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -468,6 +541,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "B24_TokenManagement"')
|
||||
@@ -520,6 +596,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "VKT_MessagesSending"')
|
||||
@@ -533,6 +612,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "NC_FilesManagement"')
|
||||
@@ -543,6 +625,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "CdekAPI_CommonMethods"')
|
||||
@@ -556,6 +641,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "YaMetrika_TagsManagement"')
|
||||
@@ -569,6 +657,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AWS_CommonMethods"')
|
||||
@@ -582,6 +673,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TC_Client"')
|
||||
@@ -589,6 +683,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GAPI_GroupManagement"')
|
||||
@@ -611,6 +708,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
@@ -618,6 +718,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "OLLM_RequestsProcessing"')
|
||||
@@ -631,6 +734,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPClient') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPClient') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "HTTP_Initialization"')
|
||||
@@ -656,6 +762,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "OAI_RequestsProcessing"')
|
||||
@@ -675,6 +784,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "RPortal_Authorization"')
|
||||
@@ -705,4 +817,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/os_deb_test_ru
vendored
117
ci/os_deb_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Телеграм_ПолучитьИнформациюБота"')
|
||||
@@ -133,6 +146,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ВК_СоздатьСсылкуТокена"')
|
||||
@@ -197,6 +213,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Вайбер_ПолучениеИнформации"')
|
||||
@@ -207,6 +226,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_ДанныеАккаунта"')
|
||||
@@ -217,6 +239,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "FT_РаботаСДиректориями"')
|
||||
@@ -230,6 +255,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SShell_ОсновныеМетоды"')
|
||||
@@ -237,6 +265,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SF_ОсновныеМетоды"')
|
||||
@@ -250,6 +281,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Postgres_ОсновныеМетоды"')
|
||||
@@ -260,6 +294,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "MYS_ОсновныеМетоды"')
|
||||
@@ -270,6 +307,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "MSS_ОсновныеМетоды"')
|
||||
@@ -280,6 +320,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SQLL_ОсновныеМетоды"')
|
||||
@@ -290,6 +333,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "RC_ВыполнениеКоманд"')
|
||||
@@ -297,6 +343,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ЯДиск_ПолучитьИнформациюОДиске"')
|
||||
@@ -331,6 +380,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -338,6 +390,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -354,6 +409,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -373,6 +431,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -386,6 +447,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "НоушнАпи_СоздатьСтраницу"')
|
||||
@@ -402,6 +466,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьИнформацию"')
|
||||
@@ -424,6 +491,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "АТ_СоздатьБазу"')
|
||||
@@ -440,6 +510,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -468,6 +541,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Б24_РаботаСТокеном"')
|
||||
@@ -520,6 +596,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ВКТ_ОтправкаСообщений"')
|
||||
@@ -533,6 +612,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "НС_РаботаСФайлами"')
|
||||
@@ -543,6 +625,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -556,6 +641,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ЯМетрика_УправлениеМетками"')
|
||||
@@ -569,6 +657,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "AWS_ОбщиеМетоды"')
|
||||
@@ -582,6 +673,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "TC_Клиент"')
|
||||
@@ -589,6 +683,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GAPI_УправлениеГруппами"')
|
||||
@@ -611,6 +708,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
@@ -618,6 +718,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "OLLM_ОбработкаЗапросов"')
|
||||
@@ -631,6 +734,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPКлиент') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPКлиент') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "HTTP_Инициализация"')
|
||||
@@ -656,6 +762,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "OAI_ОбработкаЗапросов"')
|
||||
@@ -675,6 +784,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "RPortal_Авторизация"')
|
||||
@@ -705,4 +817,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/os_rpm_test_en
vendored
117
ci/os_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TelegramAPI_GetBotInfo"')
|
||||
@@ -133,6 +146,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "VKAPI_CreateTokenLink"')
|
||||
@@ -197,6 +213,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Viber_DataRetrieval"')
|
||||
@@ -207,6 +226,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TwitterAPI_AccountData"')
|
||||
@@ -217,6 +239,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "FT_DirecotryManagement"')
|
||||
@@ -230,6 +255,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SShell_CommonMethods"')
|
||||
@@ -237,6 +265,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SF_CommonMethods"')
|
||||
@@ -250,6 +281,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Postgres_CommonMethods"')
|
||||
@@ -260,6 +294,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "MYS_CommonMethods"')
|
||||
@@ -270,6 +307,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "MSS_CommonMethods"')
|
||||
@@ -280,6 +320,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SQLL_CommonMethods"')
|
||||
@@ -290,6 +333,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "RC_CommandsExecution"')
|
||||
@@ -297,6 +343,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "YDisk_GetDiskInfo"')
|
||||
@@ -331,6 +380,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -338,6 +390,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -354,6 +409,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -373,6 +431,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -386,6 +447,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "NotionAPI_CreatePage"')
|
||||
@@ -402,6 +466,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SlackGetData"')
|
||||
@@ -424,6 +491,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AT_CreateDatabase"')
|
||||
@@ -440,6 +510,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -468,6 +541,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "B24_TokenManagement"')
|
||||
@@ -520,6 +596,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "VKT_MessagesSending"')
|
||||
@@ -533,6 +612,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "NC_FilesManagement"')
|
||||
@@ -543,6 +625,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "CdekAPI_CommonMethods"')
|
||||
@@ -556,6 +641,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "YaMetrika_TagsManagement"')
|
||||
@@ -569,6 +657,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AWS_CommonMethods"')
|
||||
@@ -582,6 +673,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TC_Client"')
|
||||
@@ -589,6 +683,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GAPI_GroupManagement"')
|
||||
@@ -611,6 +708,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
@@ -618,6 +718,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "OLLM_RequestsProcessing"')
|
||||
@@ -631,6 +734,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPClient') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPClient') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "HTTP_Initialization"')
|
||||
@@ -656,6 +762,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "OAI_RequestsProcessing"')
|
||||
@@ -675,6 +784,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "RPortal_Authorization"')
|
||||
@@ -705,4 +817,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
117
ci/os_rpm_test_ru
vendored
117
ci/os_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Телеграм_ПолучитьИнформациюБота"')
|
||||
@@ -133,6 +146,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ВК_СоздатьСсылкуТокена"')
|
||||
@@ -197,6 +213,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Вайбер_ПолучениеИнформации"')
|
||||
@@ -207,6 +226,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_ДанныеАккаунта"')
|
||||
@@ -217,6 +239,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "FT_РаботаСДиректориями"')
|
||||
@@ -230,6 +255,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SShell_ОсновныеМетоды"')
|
||||
@@ -237,6 +265,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SF_ОсновныеМетоды"')
|
||||
@@ -250,6 +281,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Postgres_ОсновныеМетоды"')
|
||||
@@ -260,6 +294,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "MYS_ОсновныеМетоды"')
|
||||
@@ -270,6 +307,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "MSS_ОсновныеМетоды"')
|
||||
@@ -280,6 +320,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SQLL_ОсновныеМетоды"')
|
||||
@@ -290,6 +333,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "RC_ВыполнениеКоманд"')
|
||||
@@ -297,6 +343,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ЯДиск_ПолучитьИнформациюОДиске"')
|
||||
@@ -331,6 +380,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -338,6 +390,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -354,6 +409,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -373,6 +431,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -386,6 +447,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "НоушнАпи_СоздатьСтраницу"')
|
||||
@@ -402,6 +466,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьИнформацию"')
|
||||
@@ -424,6 +491,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "АТ_СоздатьБазу"')
|
||||
@@ -440,6 +510,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -468,6 +541,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Б24_РаботаСТокеном"')
|
||||
@@ -520,6 +596,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ВКТ_ОтправкаСообщений"')
|
||||
@@ -533,6 +612,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "НС_РаботаСФайлами"')
|
||||
@@ -543,6 +625,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -556,6 +641,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ЯМетрика_УправлениеМетками"')
|
||||
@@ -569,6 +657,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "AWS_ОбщиеМетоды"')
|
||||
@@ -582,6 +673,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "TC_Клиент"')
|
||||
@@ -589,6 +683,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GAPI_УправлениеГруппами"')
|
||||
@@ -611,6 +708,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
@@ -618,6 +718,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "OLLM_ОбработкаЗапросов"')
|
||||
@@ -631,6 +734,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPКлиент') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPКлиент') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "HTTP_Инициализация"')
|
||||
@@ -656,6 +762,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "OAI_ОбработкаЗапросов"')
|
||||
@@ -675,6 +784,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "RPortal_Авторизация"')
|
||||
@@ -705,4 +817,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
116
ci/os_test_en
vendored
116
ci/os_test_en
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TelegramAPI_GetBotInfo"')
|
||||
@@ -131,6 +143,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "VKAPI_CreateTokenLink"')
|
||||
@@ -195,6 +210,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Viber_DataRetrieval"')
|
||||
@@ -205,6 +223,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TwitterAPI_AccountData"')
|
||||
@@ -215,6 +236,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "FT_DirecotryManagement"')
|
||||
@@ -228,6 +252,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SShell_CommonMethods"')
|
||||
@@ -235,6 +262,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SF_CommonMethods"')
|
||||
@@ -248,6 +278,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Postgres_CommonMethods"')
|
||||
@@ -258,6 +291,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "MYS_CommonMethods"')
|
||||
@@ -268,6 +304,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "MSS_CommonMethods"')
|
||||
@@ -278,6 +317,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SQLL_CommonMethods"')
|
||||
@@ -288,6 +330,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "RC_CommandsExecution"')
|
||||
@@ -295,6 +340,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "YDisk_GetDiskInfo"')
|
||||
@@ -329,6 +377,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -336,6 +387,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -352,6 +406,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -371,6 +428,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -384,6 +444,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "NotionAPI_CreatePage"')
|
||||
@@ -400,6 +463,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "SlackGetData"')
|
||||
@@ -422,6 +488,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AT_CreateDatabase"')
|
||||
@@ -438,6 +507,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -466,6 +538,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "B24_TokenManagement"')
|
||||
@@ -518,6 +593,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "VKT_MessagesSending"')
|
||||
@@ -531,6 +609,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "NC_FilesManagement"')
|
||||
@@ -541,6 +622,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "CdekAPI_CommonMethods"')
|
||||
@@ -554,6 +638,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "YaMetrika_TagsManagement"')
|
||||
@@ -567,6 +654,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AWS_CommonMethods"')
|
||||
@@ -580,6 +670,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "TC_Client"')
|
||||
@@ -587,6 +680,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GAPI_GroupManagement"')
|
||||
@@ -609,6 +705,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GMax_Account"')
|
||||
@@ -616,6 +715,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "OLLM_RequestsProcessing"')
|
||||
@@ -629,6 +731,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPClient') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPClient') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "HTTP_Initialization"')
|
||||
@@ -654,6 +759,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "OAI_RequestsProcessing"')
|
||||
@@ -673,6 +781,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "RPortal_Authorization"')
|
||||
@@ -703,4 +814,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
116
ci/os_test_ru
vendored
116
ci/os_test_ru
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Telegram') {
|
||||
when {
|
||||
expression { return shouldRunStage('Telegram') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Телеграм_ПолучитьИнформациюБота"')
|
||||
@@ -131,6 +143,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VK') {
|
||||
when {
|
||||
expression { return shouldRunStage('VK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ВК_СоздатьСсылкуТокена"')
|
||||
@@ -195,6 +210,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Viber') {
|
||||
when {
|
||||
expression { return shouldRunStage('Viber') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Вайбер_ПолучениеИнформации"')
|
||||
@@ -205,6 +223,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Twitter') {
|
||||
when {
|
||||
expression { return shouldRunStage('Twitter') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_ДанныеАккаунта"')
|
||||
@@ -215,6 +236,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "FT_РаботаСДиректориями"')
|
||||
@@ -228,6 +252,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SSH') {
|
||||
when {
|
||||
expression { return shouldRunStage('SSH') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SShell_ОсновныеМетоды"')
|
||||
@@ -235,6 +262,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SFTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('SFTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SF_ОсновныеМетоды"')
|
||||
@@ -248,6 +278,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-PostgreSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('PostgreSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Postgres_ОсновныеМетоды"')
|
||||
@@ -258,6 +291,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MySQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MySQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "MYS_ОсновныеМетоды"')
|
||||
@@ -268,6 +304,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-MSSQL') {
|
||||
when {
|
||||
expression { return shouldRunStage('MSSQL') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "MSS_ОсновныеМетоды"')
|
||||
@@ -278,6 +317,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-SQLite') {
|
||||
when {
|
||||
expression { return shouldRunStage('SQLite') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "SQLL_ОсновныеМетоды"')
|
||||
@@ -288,6 +330,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-RCON') {
|
||||
when {
|
||||
expression { return shouldRunStage('RCON') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "RC_ВыполнениеКоманд"')
|
||||
@@ -295,6 +340,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexDisk') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexDisk') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ЯДиск_ПолучитьИнформациюОДиске"')
|
||||
@@ -329,6 +377,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleWorkspace') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleWorkspace') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -336,6 +387,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -352,6 +406,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -371,6 +428,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GoogleSheets') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleSheets') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -384,6 +444,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Notion') {
|
||||
when {
|
||||
expression { return shouldRunStage('Notion') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "НоушнАпи_СоздатьСтраницу"')
|
||||
@@ -400,6 +463,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Slack') {
|
||||
when {
|
||||
expression { return shouldRunStage('Slack') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьИнформацию"')
|
||||
@@ -422,6 +488,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "АТ_СоздатьБазу"')
|
||||
@@ -438,6 +507,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -466,6 +538,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Б24_РаботаСТокеном"')
|
||||
@@ -518,6 +593,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-VkTeams') {
|
||||
when {
|
||||
expression { return shouldRunStage('VkTeams') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ВКТ_ОтправкаСообщений"')
|
||||
@@ -531,6 +609,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Neocities') {
|
||||
when {
|
||||
expression { return shouldRunStage('Neocities') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "НС_РаботаСФайлами"')
|
||||
@@ -541,6 +622,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -554,6 +638,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-YandexMetrika') {
|
||||
when {
|
||||
expression { return shouldRunStage('YandexMetrika') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ЯМетрика_УправлениеМетками"')
|
||||
@@ -567,6 +654,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-S3') {
|
||||
when {
|
||||
expression { return shouldRunStage('S3') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "AWS_ОбщиеМетоды"')
|
||||
@@ -580,6 +670,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-TCP') {
|
||||
when {
|
||||
expression { return shouldRunStage('TCP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "TC_Клиент"')
|
||||
@@ -587,6 +680,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenAPI') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenAPI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GAPI_УправлениеГруппами"')
|
||||
@@ -609,6 +705,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-GreenMax') {
|
||||
when {
|
||||
expression { return shouldRunStage('GreenMax') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "GMax_Аккаунт"')
|
||||
@@ -616,6 +715,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-Ollama') {
|
||||
when {
|
||||
expression { return shouldRunStage('Ollama') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "OLLM_ОбработкаЗапросов"')
|
||||
@@ -629,6 +731,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-HTTPКлиент') {
|
||||
when {
|
||||
expression { return shouldRunStage('HTTPКлиент') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "HTTP_Инициализация"')
|
||||
@@ -654,6 +759,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-OpenAI') {
|
||||
when {
|
||||
expression { return shouldRunStage('OpenAI') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "OAI_ОбработкаЗапросов"')
|
||||
@@ -673,6 +781,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Testing-ReportPortal') {
|
||||
when {
|
||||
expression { return shouldRunStage('ReportPortal') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "RPortal_Авторизация"')
|
||||
@@ -703,4 +814,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
3
ci/split_tests/Airtable/1c_test_en
vendored
3
ci/split_tests/Airtable/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
3
ci/split_tests/Airtable/1c_test_ru
vendored
3
ci/split_tests/Airtable/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
18
ci/split_tests/Airtable/cli_deb_test_en
vendored
18
ci/split_tests/Airtable/cli_deb_test_en
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AT_CreateDatabase"')
|
||||
@@ -93,4 +106,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/cli_deb_test_ru
vendored
18
ci/split_tests/Airtable/cli_deb_test_ru
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "АТ_СоздатьБазу"')
|
||||
@@ -93,4 +106,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/cli_rpm_test_en
vendored
18
ci/split_tests/Airtable/cli_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AT_CreateDatabase"')
|
||||
@@ -92,4 +105,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/cli_rpm_test_ru
vendored
18
ci/split_tests/Airtable/cli_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "АТ_СоздатьБазу"')
|
||||
@@ -92,4 +105,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/cli_test_en
vendored
18
ci/split_tests/Airtable/cli_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "AT_CreateDatabase"')
|
||||
@@ -172,4 +185,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/cli_test_ru
vendored
18
ci/split_tests/Airtable/cli_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "АТ_СоздатьБазу"')
|
||||
@@ -172,4 +185,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/os_deb_test_en
vendored
18
ci/split_tests/Airtable/os_deb_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AT_CreateDatabase"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/os_deb_test_ru
vendored
18
ci/split_tests/Airtable/os_deb_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "АТ_СоздатьБазу"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/os_rpm_test_en
vendored
18
ci/split_tests/Airtable/os_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AT_CreateDatabase"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Airtable/os_rpm_test_ru
vendored
18
ci/split_tests/Airtable/os_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "АТ_СоздатьБазу"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/Airtable/os_test_en
vendored
17
ci/split_tests/Airtable/os_test_en
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "AT_CreateDatabase"')
|
||||
@@ -100,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/Airtable/os_test_ru
vendored
17
ci/split_tests/Airtable/os_test_ru
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Airtable') {
|
||||
when {
|
||||
expression { return shouldRunStage('Airtable') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "АТ_СоздатьБазу"')
|
||||
@@ -100,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
3
ci/split_tests/Bitrix24/1c_test_en
vendored
3
ci/split_tests/Bitrix24/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
3
ci/split_tests/Bitrix24/1c_test_ru
vendored
3
ci/split_tests/Bitrix24/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
18
ci/split_tests/Bitrix24/cli_deb_test_en
vendored
18
ci/split_tests/Bitrix24/cli_deb_test_en
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "B24_TokenManagement"')
|
||||
@@ -129,4 +142,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/cli_deb_test_ru
vendored
18
ci/split_tests/Bitrix24/cli_deb_test_ru
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Б24_РаботаСТокеном"')
|
||||
@@ -129,4 +142,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/cli_rpm_test_en
vendored
18
ci/split_tests/Bitrix24/cli_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "B24_TokenManagement"')
|
||||
@@ -128,4 +141,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/cli_rpm_test_ru
vendored
18
ci/split_tests/Bitrix24/cli_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Б24_РаботаСТокеном"')
|
||||
@@ -128,4 +141,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/cli_test_en
vendored
18
ci/split_tests/Bitrix24/cli_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "B24_TokenManagement"')
|
||||
@@ -208,4 +221,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/cli_test_ru
vendored
18
ci/split_tests/Bitrix24/cli_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "Б24_РаботаСТокеном"')
|
||||
@@ -208,4 +221,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/os_deb_test_en
vendored
18
ci/split_tests/Bitrix24/os_deb_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "B24_TokenManagement"')
|
||||
@@ -138,4 +151,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/os_deb_test_ru
vendored
18
ci/split_tests/Bitrix24/os_deb_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Б24_РаботаСТокеном"')
|
||||
@@ -138,4 +151,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/os_rpm_test_en
vendored
18
ci/split_tests/Bitrix24/os_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "B24_TokenManagement"')
|
||||
@@ -138,4 +151,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Bitrix24/os_rpm_test_ru
vendored
18
ci/split_tests/Bitrix24/os_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Б24_РаботаСТокеном"')
|
||||
@@ -138,4 +151,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/Bitrix24/os_test_en
vendored
17
ci/split_tests/Bitrix24/os_test_en
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "B24_TokenManagement"')
|
||||
@@ -136,4 +148,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/Bitrix24/os_test_ru
vendored
17
ci/split_tests/Bitrix24/os_test_ru
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Bitrix24') {
|
||||
when {
|
||||
expression { return shouldRunStage('Bitrix24') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Б24_РаботаСТокеном"')
|
||||
@@ -136,4 +148,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
3
ci/split_tests/CDEK/1c_test_en
vendored
3
ci/split_tests/CDEK/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
3
ci/split_tests/CDEK/1c_test_ru
vendored
3
ci/split_tests/CDEK/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
18
ci/split_tests/CDEK/cli_deb_test_en
vendored
18
ci/split_tests/CDEK/cli_deb_test_en
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CdekAPI_CommonMethods"')
|
||||
@@ -90,4 +103,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/cli_deb_test_ru
vendored
18
ci/split_tests/CDEK/cli_deb_test_ru
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -90,4 +103,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/cli_rpm_test_en
vendored
18
ci/split_tests/CDEK/cli_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CdekAPI_CommonMethods"')
|
||||
@@ -89,4 +102,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/cli_rpm_test_ru
vendored
18
ci/split_tests/CDEK/cli_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -89,4 +102,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/cli_test_en
vendored
18
ci/split_tests/CDEK/cli_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "CdekAPI_CommonMethods"')
|
||||
@@ -169,4 +182,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/cli_test_ru
vendored
18
ci/split_tests/CDEK/cli_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -169,4 +182,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/os_deb_test_en
vendored
18
ci/split_tests/CDEK/os_deb_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "CdekAPI_CommonMethods"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/os_deb_test_ru
vendored
18
ci/split_tests/CDEK/os_deb_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/os_rpm_test_en
vendored
18
ci/split_tests/CDEK/os_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "CdekAPI_CommonMethods"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/CDEK/os_rpm_test_ru
vendored
18
ci/split_tests/CDEK/os_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/CDEK/os_test_en
vendored
17
ci/split_tests/CDEK/os_test_en
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "CdekAPI_CommonMethods"')
|
||||
@@ -97,4 +109,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/CDEK/os_test_ru
vendored
17
ci/split_tests/CDEK/os_test_ru
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-CDEK') {
|
||||
when {
|
||||
expression { return shouldRunStage('CDEK') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "СдэкАПИ_ОбщиеМетоды"')
|
||||
@@ -97,4 +109,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
3
ci/split_tests/Dropbox/1c_test_en
vendored
3
ci/split_tests/Dropbox/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
3
ci/split_tests/Dropbox/1c_test_ru
vendored
3
ci/split_tests/Dropbox/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
18
ci/split_tests/Dropbox/cli_deb_test_en
vendored
18
ci/split_tests/Dropbox/cli_deb_test_en
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -105,4 +118,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/cli_deb_test_ru
vendored
18
ci/split_tests/Dropbox/cli_deb_test_ru
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -105,4 +118,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/cli_rpm_test_en
vendored
18
ci/split_tests/Dropbox/cli_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -104,4 +117,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/cli_rpm_test_ru
vendored
18
ci/split_tests/Dropbox/cli_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -104,4 +117,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/cli_test_en
vendored
18
ci/split_tests/Dropbox/cli_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -184,4 +197,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/cli_test_ru
vendored
18
ci/split_tests/Dropbox/cli_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -184,4 +197,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/os_deb_test_en
vendored
18
ci/split_tests/Dropbox/os_deb_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -114,4 +127,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/os_deb_test_ru
vendored
18
ci/split_tests/Dropbox/os_deb_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -114,4 +127,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/os_rpm_test_en
vendored
18
ci/split_tests/Dropbox/os_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -114,4 +127,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/Dropbox/os_rpm_test_ru
vendored
18
ci/split_tests/Dropbox/os_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -114,4 +127,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/Dropbox/os_test_en
vendored
17
ci/split_tests/Dropbox/os_test_en
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "DropboxAPI_GetUpdateToken"')
|
||||
@@ -112,4 +124,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/Dropbox/os_test_ru
vendored
17
ci/split_tests/Dropbox/os_test_ru
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-Dropbox') {
|
||||
when {
|
||||
expression { return shouldRunStage('Dropbox') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ДропБокс_ПолучитьОбновитьТокен"')
|
||||
@@ -112,4 +124,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
3
ci/split_tests/FTP/1c_test_en
vendored
3
ci/split_tests/FTP/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
3
ci/split_tests/FTP/1c_test_ru
vendored
3
ci/split_tests/FTP/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
18
ci/split_tests/FTP/cli_deb_test_en
vendored
18
ci/split_tests/FTP/cli_deb_test_en
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "FT_DirecotryManagement"')
|
||||
@@ -90,4 +103,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/cli_deb_test_ru
vendored
18
ci/split_tests/FTP/cli_deb_test_ru
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "FT_РаботаСДиректориями"')
|
||||
@@ -90,4 +103,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/cli_rpm_test_en
vendored
18
ci/split_tests/FTP/cli_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "FT_DirecotryManagement"')
|
||||
@@ -89,4 +102,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/cli_rpm_test_ru
vendored
18
ci/split_tests/FTP/cli_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "FT_РаботаСДиректориями"')
|
||||
@@ -89,4 +102,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/cli_test_en
vendored
18
ci/split_tests/FTP/cli_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "FT_DirecotryManagement"')
|
||||
@@ -169,4 +182,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/cli_test_ru
vendored
18
ci/split_tests/FTP/cli_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "FT_РаботаСДиректориями"')
|
||||
@@ -169,4 +182,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/os_deb_test_en
vendored
18
ci/split_tests/FTP/os_deb_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "FT_DirecotryManagement"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/os_deb_test_ru
vendored
18
ci/split_tests/FTP/os_deb_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "FT_РаботаСДиректориями"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/os_rpm_test_en
vendored
18
ci/split_tests/FTP/os_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "FT_DirecotryManagement"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/FTP/os_rpm_test_ru
vendored
18
ci/split_tests/FTP/os_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "FT_РаботаСДиректориями"')
|
||||
@@ -99,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/FTP/os_test_en
vendored
17
ci/split_tests/FTP/os_test_en
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "FT_DirecotryManagement"')
|
||||
@@ -97,4 +109,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/FTP/os_test_ru
vendored
17
ci/split_tests/FTP/os_test_ru
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-FTP') {
|
||||
when {
|
||||
expression { return shouldRunStage('FTP') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "FT_РаботаСДиректориями"')
|
||||
@@ -97,4 +109,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
3
ci/split_tests/GoogleCalendar/1c_test_en
vendored
3
ci/split_tests/GoogleCalendar/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
3
ci/split_tests/GoogleCalendar/1c_test_ru
vendored
3
ci/split_tests/GoogleCalendar/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
18
ci/split_tests/GoogleCalendar/cli_deb_test_en
vendored
18
ci/split_tests/GoogleCalendar/cli_deb_test_en
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -93,4 +106,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/cli_deb_test_ru
vendored
18
ci/split_tests/GoogleCalendar/cli_deb_test_ru
vendored
@@ -12,6 +12,16 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -54,6 +64,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -93,4 +106,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/cli_rpm_test_en
vendored
18
ci/split_tests/GoogleCalendar/cli_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -92,4 +105,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/cli_rpm_test_ru
vendored
18
ci/split_tests/GoogleCalendar/cli_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove oint') {
|
||||
steps {
|
||||
script {
|
||||
@@ -53,6 +63,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -92,4 +105,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/cli_test_en
vendored
18
ci/split_tests/GoogleCalendar/cli_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_TestsCLI.os" "GW_Auth"')
|
||||
@@ -172,4 +185,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/cli_test_ru
vendored
18
ci/split_tests/GoogleCalendar/cli_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'windows'
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
@@ -133,6 +143,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os" "ГВ_Авторизация"')
|
||||
@@ -172,4 +185,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/os_deb_test_en
vendored
18
ci/split_tests/GoogleCalendar/os_deb_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/os_deb_test_ru
vendored
18
ci/split_tests/GoogleCalendar/os_deb_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Deb-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/os_rpm_test_en
vendored
18
ci/split_tests/GoogleCalendar/os_rpm_test_en
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
18
ci/split_tests/GoogleCalendar/os_rpm_test_ru
vendored
18
ci/split_tests/GoogleCalendar/os_rpm_test_ru
vendored
@@ -11,6 +11,16 @@ pipeline {
|
||||
label 'Rpm-Agent' // Имя или метка агента
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -63,6 +73,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -102,4 +115,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/GoogleCalendar/os_test_en
vendored
17
ci/split_tests/GoogleCalendar/os_test_en
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GW_Auth"')
|
||||
@@ -100,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
17
ci/split_tests/GoogleCalendar/os_test_ru
vendored
17
ci/split_tests/GoogleCalendar/os_test_ru
vendored
@@ -12,6 +12,15 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Read stages config') {
|
||||
steps {
|
||||
script {
|
||||
def configText = readFile './service/tests_config.json'
|
||||
env.STAGES_CONFIG = configText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Remove OInt from OneScript Lib') {
|
||||
steps {
|
||||
script {
|
||||
@@ -61,6 +70,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleCalendar') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleCalendar') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
runCommand('1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "ГВ_Авторизация"')
|
||||
@@ -100,4 +112,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def shouldRunStage(stageName) {
|
||||
def config = readJSON text: env.STAGES_CONFIG
|
||||
return config[stageName] == true
|
||||
}
|
||||
3
ci/split_tests/GoogleDrive/1c_test_en
vendored
3
ci/split_tests/GoogleDrive/1c_test_en
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
3
ci/split_tests/GoogleDrive/1c_test_ru
vendored
3
ci/split_tests/GoogleDrive/1c_test_ru
vendored
@@ -62,6 +62,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Testing-GoogleDrive') {
|
||||
when {
|
||||
expression { return shouldRunStage('GoogleDrive') }
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user