Skip to content

Commit

Permalink
Поменял порядок стейджей
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovEV committed Mar 19, 2024
1 parent d13caf5 commit da65700
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions vars/pipeline1C.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -106,31 +106,32 @@ void call() {
}
}

stage('Инициализация ИБ') {
stage('Загрузка расширений в конфигурацию'){
when {
beforeAgent true
expression { config.stageFlags.initSteps }
expression { config.needLoadExtensions() }
}
steps {
timeout(time: config.timeoutOptions.initInfoBase, unit: TimeUnit.MINUTES) {
// Инициализация и первичная миграция
initInfobase config
timeout(time: config.timeoutOptions.loadExtensions, unit: TimeUnit.MINUTES) {
loadExtensions config
}
}
}

stage('Загрузка расширений в конфигурацию'){
stage('Инициализация ИБ') {
when {
beforeAgent true
expression { config.needLoadExtensions() }
expression { config.stageFlags.initSteps }
}
steps {
timeout(time: config.timeoutOptions.loadExtensions, unit: TimeUnit.MINUTES) {
loadExtensions config
timeout(time: config.timeoutOptions.initInfoBase, unit: TimeUnit.MINUTES) {
// Инициализация и первичная миграция
initInfobase config
}
}
}


stage('Архивация ИБ') {
steps {
timeout(time: config.timeoutOptions.zipInfoBase, unit: TimeUnit.MINUTES) {
Expand Down

0 comments on commit da65700

Please sign in to comment.