mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-02-01 13:28:00 +02:00
Скачивание временной сборки VAS с исправлением работы под linux
This commit is contained in:
parent
3350eb8e70
commit
9ca255f4fd
@ -45,4 +45,8 @@ interface IStepExecutor {
|
||||
def unzip(String dir, String zipFile, quiet)
|
||||
|
||||
def catchError(Closure body)
|
||||
|
||||
def httpRequest(String url, String outputFile)
|
||||
|
||||
def httpRequest(String url, String outputFile, String responseHandle, boolean wrapAsMultipart)
|
||||
}
|
@ -103,4 +103,9 @@ class StepExecutor implements IStepExecutor {
|
||||
def catchError(Closure body) {
|
||||
steps.catchError body
|
||||
}
|
||||
|
||||
@Override
|
||||
def httpRequest(String url, String outputFile, String responseHandle = 'NONE', boolean wrapAsMultipart = false) {
|
||||
steps.httpRequest responseHandle: responseHandle, outputFile: outputFile, url: url, wrapAsMultipart: wrapAsMultipart
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,12 @@ class InitInfobase implements Serializable {
|
||||
Logger.println("Шаг миграции ИБ выключен")
|
||||
}
|
||||
|
||||
// TODO: удалить после выхода VAS 1.0.35
|
||||
steps.httpRequest(
|
||||
'https://cloud.svc.pulsar.ru/index.php/s/WKwmqpFXSjfYjAH',
|
||||
'oscript_modules/vanessa-automation-single/vanessa-automation-single.epf'
|
||||
)
|
||||
|
||||
config.initInfobaseOptions.additionalMigrationSteps.each {
|
||||
Logger.println("Первичная инициализация командой ${it}")
|
||||
steps.cmd("oscript_modules/bin/vrunner ${it} --ibconnection \"/F./build/ib\"")
|
||||
|
Loading…
x
Reference in New Issue
Block a user