This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def labels = ['slave-2', 'slave-3'] // labels for Jenkins node types we will build on | |
def builders = [:] | |
for (x in labels) { | |
def label = x // Need to bind the label variable before the closure - can't do 'for (label in labels)' | |
// Create a map to pass in to the 'parallel' step so we can fire all the builds at once | |
builders[label] = { | |
node(label) { | |
update_to('8.3.12.1616') | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
env.LOGOS_LEVEL = 'DEBUG' | |
def RESULT_FILE = 'validation-result.txt' | |
def PREV_RESULT_FILE = "prev-${RESULT_FILE}" | |
def PREV_PARAM = "--prev-validation-result ${PREV_RESULT_FILE}" | |
def LOCAL_REPO = 'c:/local-repo' | |
def REMOTE_REPO = '[email protected]:project-name/project-name.git' | |
def REPO_BRANCH = 'develop' | |
def PROJECT_PATH = 'c:/local-repo/project-name' | |
stage('Подготовка окружения') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Процедура ОчиститьУстаревшийКэш() | |
Если Не ЗначениеЗаполнено(АргументыКоманднойСтроки) Тогда | |
Сообщить("Очищает кэши платформы созданные позавчера и ранее. | |
|Использование: clearcache.os <путь-к-папке-с-кэшем-платформы-1с-предприятие>"); | |
Возврат; | |
КонецЕсли; | |
Сообщить(СтрШаблон("Выполняю поиск устаревших файлов кэша платформы в папке ""%1""", АргументыКоманднойСтроки[0])); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E:\Jenkins_slave\workspace\SBM 1.6.18 SonarQube Scanner>java -Duser.country=RU -Duser.language=ru -Xmx4g -jar "../SBM 1.6.18 SonarQube Scanner@script/tools/bsl-language-server-0.5.0-dev.jar" --analyze --srcDir sbm/src --reporter json | |
Analyzing files... 0% [> ] 0/6707 (0:00:00 / ?) | |
Analyzing files... 0% [> ] 8/6707 (0:00:01 / 0:14:36) | |
Analyzing files... 0% [> ] 13/6707 (0:00:02 / 0:18:05) | |
... | |
Analyzing files... 57% [============> ] 3861/6707 (0:03:38 / 0:02:41) | |
Analyzing files... 57% [============> ] 3883/6707 (0:03:39 / 0:02:39) | |
Analyzing files... 58% [============> ] 3891/6707 (0:03:40 / 0:02:39) | |
Analyzing files... 58% [============> ] 3901/6707 (0:03:41 / 0:02:39) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/silverbulleters/vanessa-runner/develop/xunit-schema.json", | |
"smoke": { | |
"СтрогийПорядокВыполнения": false, | |
"ВыводитьСообщенияВЖурналРегистрации": true, | |
"ИсключитьФормыЗависящиеОтОтключенныхФункциональныхОпций": true, | |
"СпособГруппировки": "ПоВидуМетаданных", | |
"ПропускаемыеИсключения": [ | |
"Обработка не предназначена для", | |
"Самостоятельное использование формы не предусмотрено" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Использовать asserts | |
Процедура Инициализировать() | |
Ожидаем.Что(АргументыКоманднойСтроки, "Укажите имя исходного списка файлов | |
|и имя файла в который будет записан итоговый список").ИмеетДлину(2); | |
ЗаписьТекста = Новый ЗаписьТекста(АргументыКоманднойСтроки[1]); | |
ЗаписьТекста.ЗаписатьСтроку("0: " + АргументыКоманднойСтроки[0]); | |
ЗаписьТекста.ЗаписатьСтроку("1: " + АргументыКоманднойСтроки[1]); |
OlderNewer