1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-01-19 11:49:52 +02:00

Merge pull request #116 from Segate-ekb/develop

Инициализация БД и загрузка расширений
This commit is contained in:
Nikita Fedkin 2024-05-06 19:18:41 +03:00 committed by GitHub
commit f60feb25b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 12 deletions

View File

@ -67,7 +67,7 @@ pipeline1C()
## Внешний вид пайплайна в интерфейсе Blue Ocean
![image](https://github.com/firstBitMarksistskaya/jenkins-lib/assets/80944823/e34a0112-2fe5-4116-92ac-8fcca08bba43)
![image](https://github.com/firstBitMarksistskaya/jenkins-lib/assets/80944823/a8d5bdff-3267-4744-a613-8c3d445b767f)
## Конфигурирование

View File

@ -106,6 +106,18 @@ void call() {
}
}
stage('Загрузка расширений в конфигурацию'){
when {
beforeAgent true
expression { config.needLoadExtensions() }
}
steps {
timeout(time: config.timeoutOptions.loadExtensions, unit: TimeUnit.MINUTES) {
loadExtensions config
}
}
}
stage('Инициализация ИБ') {
when {
beforeAgent true
@ -119,17 +131,6 @@ void call() {
}
}
stage('Загрузка расширений в конфигурацию'){
when {
beforeAgent true
expression { config.needLoadExtensions() }
}
steps {
timeout(time: config.timeoutOptions.loadExtensions, unit: TimeUnit.MINUTES) {
loadExtensions config
}
}
}
stage('Архивация ИБ') {
steps {