You've already forked jenkins-lib
mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-07-17 06:32:20 +02:00
Исправлена передача файла с исключениями.
--modes должен быть последним параметром вызова
This commit is contained in:
@ -46,15 +46,15 @@ def call(JobConfiguration config) {
|
|||||||
command += " --settings $vrunnerSettings";
|
command += " --settings $vrunnerSettings";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!options.exceptionFile.empty && fileExists(options.exceptionFile)) {
|
||||||
|
command += " --exception-file $options.exceptionFile"
|
||||||
|
}
|
||||||
|
|
||||||
if (options.checkModes.length > 0) {
|
if (options.checkModes.length > 0) {
|
||||||
def checkModes = options.checkModes.join(" ")
|
def checkModes = options.checkModes.join(" ")
|
||||||
command += " --mode $checkModes"
|
command += " --mode $checkModes"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!options.exceptionFile.empty && fileExists(options.exceptionFile)) {
|
|
||||||
command += " --exception-file $options.exceptionFile"
|
|
||||||
}
|
|
||||||
|
|
||||||
// Запуск синтакс-проверки
|
// Запуск синтакс-проверки
|
||||||
VRunner.exec(command, true)
|
VRunner.exec(command, true)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user