You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-06-20 09:19:27 +02:00
Отключения ibsrv для 1CF
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
Перем Сервер1с;
|
||||
Перем ПутьVrunner;
|
||||
Перем ПутьИБ;
|
||||
Перем ПутьIbsrv;
|
||||
Перем ПортIbsrv;
|
||||
|
||||
Перем КаталогOscript;
|
||||
|
||||
@@ -57,8 +55,6 @@
|
||||
Сервер1с = ДанныеПроекта.ПолучитьЗначениеНастройки("local.serverName");
|
||||
ПутьVrunner = ДанныеПроекта.ПолучитьЗначениеНастройки("local.vrunnerPath");
|
||||
ПутьИБ = ДанныеПроекта.ПолучитьЗначениеНастройки("tests.testIbPath");
|
||||
ПутьIbsrv = ДанныеПроекта.ПолучитьЗначениеНастройки("local.ibsrvPath");
|
||||
ПортIbsrv = ДанныеПроекта.ПолучитьЗначениеНастройки("local.ibsrvPort");
|
||||
ХостJenkins = ДанныеПроекта.ПолучитьЗначениеНастройки("local.jenkinsHost");
|
||||
|
||||
КаталогOscript = ДанныеПроекта.ПолучитьЗначениеНастройки("local.osPath");
|
||||
@@ -231,7 +227,7 @@
|
||||
ТекстВыполненияCLI = ПолучитьТекстВыполненияOs(ТаблицаТестов, СписокБиблиотек, Язык, "OPItc_", ПараллельныйРежим);
|
||||
// 1C server IB: последовательно — параллельные сеансы упираются в лимит лицензий
|
||||
ТекстВыполнения1С = ПолучитьТекстВыполнения1c(ТаблицаТестов, СписокБиблиотек, Язык, Ложь);
|
||||
// CF file IB: параллельно через vrunner --ibsrv
|
||||
// CF file IB: параллельно через vrunner
|
||||
ТекстВыполнения1Сf = ПолучитьТекстВыполнения1c(ТаблицаТестов, СписокБиблиотек, Язык, ПараллельныйРежим);
|
||||
ТекстПараметров = ПолучитьТекстПараметров(СписокБиблиотек);
|
||||
|
||||
@@ -245,7 +241,7 @@
|
||||
ТекстJFCLIDEB = СтрШаблон(ШаблонCliDeb, Язык, ТекстВыполненияCLI, "Deb-Agent", Версия, ТекстПараметров);
|
||||
|
||||
ТекстJF1CWin = СтрШаблон(Шаблон1cWindows, ТекстВыполнения1С, Путь1с, Сервер1с, База, ТекстПараметров);
|
||||
ТекстJF1CfWin = СтрШаблон(Шаблон1cfWindows, ТекстВыполнения1Сf, ПутьVrunner, Язык, ТекстПараметров, ПутьИБ, ПутьIbsrv, ПортIbsrv);
|
||||
ТекстJF1CfWin = СтрШаблон(Шаблон1cfWindows, ТекстВыполнения1Сf, ПутьVrunner, Язык, ТекстПараметров, ПутьИБ);
|
||||
|
||||
ШаблонПредставления = "OPI | Тестирование версии для %1 (%2, %3)";
|
||||
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -188,14 +165,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -766,9 +735,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -188,14 +165,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -766,9 +735,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -146,14 +123,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -173,9 +142,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -146,14 +123,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -173,9 +142,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_en --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_en","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort 8314 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port 8314 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe --data=D:/TEST_IB/OpenIntegrationsIB_ru --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p 8314'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "C:/Program Files/1cv8/8.3.26.1656/bin/ibsrv.exe" -ArgumentList "--data=D:/TEST_IB/OpenIntegrationsIB_ru","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","8314" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port 8314...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -147,14 +124,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing-Core') {
|
||||
when {
|
||||
expression { return params['Core'] }
|
||||
@@ -187,9 +156,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,29 +22,6 @@ def echoVrunnerLog(String libraryName, String logFile) {
|
||||
return ''
|
||||
}
|
||||
|
||||
def stopIbsrv() {
|
||||
powershell(returnStatus: true, script: 'Get-NetTCPConnection -LocalPort %7 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }')
|
||||
}
|
||||
|
||||
def waitForIbsrv() {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
waitUntil(quiet: true, initialRecurrencePeriod: 2) {
|
||||
return powershell(returnStatus: true, script: 'if (Get-NetTCPConnection -LocalPort %7 -State Listen -ErrorAction SilentlyContinue) { exit 0 } else { exit 1 }') == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def startIbsrv() {
|
||||
echo 'Stopping previous ibsrv on port %7 (if any)...'
|
||||
stopIbsrv()
|
||||
echo 'Starting ibsrv: %6 --data=%5OpenIntegrationsIB_%3 --db-path=./ --direct-regport 8341 --log-data=D:/IBSRV -p %7'
|
||||
powershell(returnStatus: true, script: 'Start-Process -FilePath "%6" -ArgumentList "--data=%5OpenIntegrationsIB_%3","--db-path=./","--direct-regport","8341","--log-data=D:/IBSRV","-p","%7" -WindowStyle Hidden')
|
||||
echo 'Waiting for ibsrv port %7...'
|
||||
waitForIbsrv()
|
||||
echo 'ibsrv is ready, warmup pause before tests...'
|
||||
sleep(time: 15, unit: 'SECONDS')
|
||||
}
|
||||
|
||||
def runLibraryTest(String libraryName, String configPath) {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
script {
|
||||
@@ -146,14 +123,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start ibsrv') {
|
||||
steps {
|
||||
script {
|
||||
startIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%1
|
||||
|
||||
}
|
||||
@@ -163,9 +132,6 @@ pipeline {
|
||||
catchError() {
|
||||
runCommand('oscript ./ci/os/internal/Classes/ReportPortalMethods.os stop')
|
||||
}
|
||||
catchError() {
|
||||
stopIbsrv()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user