Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Инициализация БД и загрузка расширений #116

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

## Конфигурирование

Comment on lines 67 to 73
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [110-110]

Возможно, найдена орфографическая ошибка в слове "По-умолчанию". Правильно писать слитно: "по умолчанию".

- По-умолчанию версия модуля EDT не заполнена
+ По умолчанию версия модуля EDT не заполнена

Expand Down
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