Skip to content

Instantly share code, notes, and snippets.

@VladFrost
VladFrost / Jenkinsfile
Created August 14, 2017 09:43
CheckConfig pipeline script
node {
stage('Создание пустой базы и обновление из хранилища') {
env.RUNNER_V8VERSION='8.3.10.2505'
env.RUNNER_IBNAME="/F${env.WORKSPACE}/build/ib"
cmd("runner init-dev --storage --storage-name tcp://storage.local/master --storage-user Мороз")
}
stage('Проверка логической целостности конфигурации') {
cmd_failsafe('runner checkconfig --junitpath build/out/ConfigLogIntegrity.xml --mode -ConfigLogIntegrity')
step([$class: 'JUnitResultArchiver', testResults: '**/ConfigLogIntegrity.xml'])